Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect not working for 'registration_create' #372

Open
pradosh987 opened this issue Sep 6, 2018 · 3 comments
Open

Redirect not working for 'registration_create' #372

pradosh987 opened this issue Sep 6, 2018 · 3 comments

Comments

@pradosh987
Copy link

Redirect for registration_create not working after updating 0.5.0 to 0.5.2. password_create is working in new version

@jung-hunsoo
Copy link
Contributor

I'm getting the same issue.

It was working on v0.5.0, but the same redirect function doesn't be called in v0.5.2 while session_create can be override.

It's suspect that the coherence/lib/coherence/controllers/registration_controller.ex has a problem (not sure).

@romikoops
Copy link

Does not work for me too

@romikoops
Copy link

I guess I found the bug.

https://github.com/smpallen99/coherence/blob/master/lib/coherence/responders/html.ex#L56

should be :registration_create instead of :session_create

But, keep in mind, if Config.allow_unconfirmed_access_for = 1, then it will be never triggered.
In that case you have to use session_create callback, cause next step after registration is login

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants