refactor(paste): switch to heex templates
Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
7 files changed
+3
No files matched your search
@@ -22,5 +22,7 @@ defmodule KetbinWeb.UserSessionController do
|
||||
conn
|
||||
|> put_flash(:info, "Logged out successfully.")
|
||||
|> UserAuth.log_out_user()
|
||||
|
||||
conn
|
||||
end
|
||||
end
|
||||
@@ -45,6 +45,7 @@ defmodule KetbinWeb.UserSettingsController do
|
||||
|> put_session(:user_return_to, Routes.user_settings_path(conn, :edit))
|
||||
|> UserAuth.log_in_user(user)
|
||||
|
||||
conn
|
||||
{:error, changeset} ->
|
||||
render(conn, "edit.html", password_changeset: changeset)
|
||||
end
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user