Replies: 1 comment
-
Problem contourned by replacing return response.redirect().toRoute('user.password.edit') with return view.render('pages/user/password/edit') I don't really understand the origin of the problem, but I definitly think it's a problem with the redirection 🤷 I still have some issue with other page redirections |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 😁 !
I try to perform a mail registration, send mail with validation link, then the user create his password after email validation.
I've make it and it works well on my dev computer. But not in production 😅
My mail validation function is here :
Here is my routing :
On Dev computer it work's well. Here is my output on Prod when I request
/user/mail/validate/:key
:Regarding to the
console.log
outputs, I understand that the user seem's to be logged in the session but this isn't keep on redirection (and so the auth middleware redirect me touser.login
route).Also (in prod) on theses specific redirections the web browser keep the original url (
/user/mail/validate/correctKey
) but the (redirection destination) view is rendered, while on dev the browser navbar url change on redirectionsI was thinking I've misconfigured something, but in prod my normal login form work well, and the session work's well too with normal login 🤔
If it could help, here is my normal login :
I don't understand where the error come from 😅.
Maybe if the browser isn't redirected well/correctly he don't get the session cookie ?
Thanks in advance for any help provided !
Have a nice day
Beta Was this translation helpful? Give feedback.
All reactions