mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Fix crash
This commit is contained in:
@@ -247,7 +247,7 @@ defmodule Web.Auth do
|
||||
socket =
|
||||
socket
|
||||
|> Phoenix.LiveView.put_flash(:error, "You must log in to access this page.")
|
||||
|> Phoenix.LiveView.redirect(to: ~p"/#{socket.assigns.account}/sign_in")
|
||||
|> Phoenix.LiveView.redirect(to: ~p"/#{params["account_id_or_slug"]}/sign_in")
|
||||
|
||||
{:halt, socket}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user