Skip to content

Commit 55dfd39

Browse files
committed
Retain params when registration captcha was missing/incorrect
1 parent 596bf82 commit 55dfd39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/keila_web/controllers/auth_controller.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ defmodule KeilaWeb.AuthController do
3737
end
3838
else
3939
{:error, changeset} =
40-
params
40+
user_params
4141
|> Auth.User.creation_changeset()
4242
|> Ecto.Changeset.add_error(:captcha, dgettext("auth", "Please complete the captcha."))
4343
|> Ecto.Changeset.apply_action(:insert)

0 commit comments

Comments
 (0)