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

with statement in Sentinel.Controllers.Html.AuthController.new_user has no else clause #48

Open
sgeos opened this issue May 25, 2017 · 0 comments
Assignees
Labels

Comments

@sgeos
Copy link

sgeos commented May 25, 2017

The with statement in Sentinel.Controllers.Html.AuthController.new_user() has no else clause. This leads to the following exceedingly cryptic error message if AfterRegistrator.confirmable_and_invitable() or RegistratorHelper.callback() fails to return {:ok, user}.

expected action/2 to return a Plug.Conn, all plugs must receive a connection (conn) and return a connection

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

No branches or pull requests

2 participants