mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
fix double render on totp auth
This commit is contained in:
parent
86815477ef
commit
d303d02d2c
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ defmodule PhilomenaWeb.Session.TotpController do
|
||||||
|> UserAuth.log_out_user()
|
|> UserAuth.log_out_user()
|
||||||
|
|
||||||
{:ok, user} ->
|
{:ok, user} ->
|
||||||
conn
|
UserAuth.totp_auth_user(conn, user, user_params)
|
||||||
|> UserAuth.totp_auth_user(user, user_params)
|
|
||||||
|> redirect(to: "/")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue