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
The
with
statement in Sentinel.Controllers.Html.AuthController.new_user() has noelse
clause. This leads to the following exceedingly cryptic error message ifAfterRegistrator.confirmable_and_invitable()
orRegistratorHelper.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