style: consitent flash messages
This commit is contained in:
parent
b7c93f19cb
commit
ff9f98f8e7
22 changed files with 117 additions and 103 deletions
|
|
@ -81,7 +81,7 @@ defmodule MvWeb.LinkOidcAccountLive do
|
|||
|
||||
socket
|
||||
|> put_flash(
|
||||
:info,
|
||||
:success,
|
||||
dgettext("auth", "Account activated! Redirecting to complete sign-in...")
|
||||
)
|
||||
|> Phoenix.LiveView.redirect(to: ~p"/auth/user/oidc")
|
||||
|
|
@ -217,7 +217,7 @@ defmodule MvWeb.LinkOidcAccountLive do
|
|||
{:noreply,
|
||||
socket
|
||||
|> put_flash(
|
||||
:info,
|
||||
:success,
|
||||
dgettext(
|
||||
"auth",
|
||||
"Your OIDC account has been successfully linked! Redirecting to complete sign-in..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue