Redirect not working for 'registration_create'
pradosh987 opened this issue · 3 comments
Redirect for registration_create
not working after updating 0.5.0 to 0.5.2. password_create
is working in new version
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).
Does not work for me too
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