# |
Nov 29th 2017, 19:16 |
WyriHaximus |
Awesome \o/! |
# |
Nov 29th 2017, 19:16 |
inoas |
i ll put the to stuff into cakephp/localized and ref you |
# |
Nov 29th 2017, 19:16 |
inoas |
ty |
# |
Nov 29th 2017, 19:16 |
WyriHaximus |
inoas: commented on the gist |
# |
Nov 29th 2017, 19:16 |
inoas |
thats ok |
# |
Nov 29th 2017, 19:15 |
WyriHaximus |
inoas: changed it to faulty rather then invalid |
# |
Nov 29th 2017, 19:14 |
inoas |
and well __USER_FORM_INPUT_ERROR_FLASH_MESSAGE__ |
# |
Nov 29th 2017, 19:14 |
inoas |
__CART_SESSION_INVALID_EXCEPTION_MESSAGE__ is my placeholder |
# |
Nov 29th 2017, 19:13 |
inoas |
basically after purchasing parts of the session data are cleared |
# |
Nov 29th 2017, 19:12 |
inoas |
yes |
# |
Nov 29th 2017, 19:12 |
WyriHaximus |
inoas: Does "Cart session invalid." refer to an ecommerce shopping cart? |
# |
Nov 29th 2017, 19:12 |
WyriHaximus |
inoas: ping |
# |
Nov 29th 2017, 18:53 |
inoas |
bootstrapui cakephp3 plugin messes with those already |
# |
Nov 29th 2017, 18:52 |
inoas |
aside messing with the templates |
# |
Nov 29th 2017, 18:52 |
inoas |
channel: is there any way to make formhelpers date widgets render d m y instead of y m d? |
# |
Nov 29th 2017, 18:52 |
inoas |
laughing out loud ;-) |
# |
Nov 29th 2017, 18:51 |
WyriHaximus |
inoas: well honestly I prefer my water shaken not stirred, and ice cold |
# |
Nov 29th 2017, 18:51 |
inoas |
WyriHaximus: boiling you some water for tea or coffee |
# |
Nov 29th 2017, 18:48 |
birdy247 |
just a normal array :+1: |
# |
Nov 29th 2017, 18:48 |
birdy247 |
ah yes |
# |
Nov 29th 2017, 18:47 |
birdy247 |
i.e. Articles/index/hello |
# |
Nov 29th 2017, 18:47 |
birdy247 |
is it possible to pass a param in the loginRedirect? |
# |
Nov 29th 2017, 18:43 |
WyriHaximus |
inoas: hold my water :D |
# |
Nov 29th 2017, 18:34 |
inoas |
WyriHaximus: seems Martin` flew out as well - you are my only hope for today ;-) |
# |
Nov 29th 2017, 18:09 |
ajibarra |
You could take a look here: https://github.com/CakeDC/users/blob/master/src/Auth/SocialAuthenticate.php to see how we managed that in Users Plugin, and also take a look here https://github.com/CakeDC/users/tree/master/src/Auth/Social/Mapper to see how to map data coming from fb,twitter,etc. |
# |
Nov 29th 2017, 18:06 |
prepender |
interesting |
# |
Nov 29th 2017, 18:03 |
ajibarra |
mainly because you are not verifying the emails...I can register somebody emails, and he could try to login with fb, both accounts would be merged and I would have his fb info |
# |
Nov 29th 2017, 18:02 |
hmic |
if the user chooses different login options, you need to verify the second one too, if facebook is not linked already, the same as if you intentionally link |
# |
Nov 29th 2017, 18:02 |
hmic |
sure |
# |
Nov 29th 2017, 18:02 |
ajibarra |
If somebody already have an account in your site and he tries to login with fb, you should ask for the user password in your site to actually merge the accounts |
# |
Nov 29th 2017, 18:01 |
hmic |
basically tell them the facebook email is differnet from their accounts - choose: dont link facebook, or update accounts email |
# |
Nov 29th 2017, 18:01 |
prepender |
unless i lock account to fb only if they deny the merge |
# |
Nov 29th 2017, 18:01 |
hmic |
no |
# |
Nov 29th 2017, 18:01 |
prepender |
hmm |
# |
Nov 29th 2017, 18:00 |
prepender |
there email is stil same as other account |
# |
Nov 29th 2017, 18:00 |
prepender |
but then when they go to set there password |
# |
Nov 29th 2017, 18:00 |
prepender |
so baically a prompt like hey you already have an account with that email would you like to merge |
# |
Nov 29th 2017, 18:00 |
hmic |
*fg* |
# |
Nov 29th 2017, 18:00 |
prepender |
hmm idk why I didnt think of the let them choose |
# |
Nov 29th 2017, 17:59 |
hmic |
you can let them choose what to do even... |
# |
Nov 29th 2017, 17:59 |
hmic |
can either not link facebook with different email or update your data with the returned email |