You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defp redirect_to(conn) do
case Pow.Plug.current_user(conn) do
nil -> routes(conn).session_path(conn, :new)
_user -> routes(conn).registration_path(conn, :edit)
end
end
Shouldn't those be configurable just like after_sign_in_path etc.?
The text was updated successfully, but these errors were encountered:
For now, in https://github.com/augnustin/pow/blob/master/lib/extensions/email_confirmation/phoenix/controllers/confirmation_controller.ex redirection routes are hard coded:
Shouldn't those be configurable just like
after_sign_in_path
etc.?The text was updated successfully, but these errors were encountered: