sentinel
sentinel copied to clipboard
with statement in Sentinel.Controllers.Html.AuthController.new_user has no else clause
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