fix(portal): Fix grammar on account lockout message (#8149)

This commit is contained in:
Jamil
2025-02-16 22:06:28 -08:00
committed by GitHub
parent a3c0321020
commit 9b5a7e5fb3
2 changed files with 4 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ defmodule Web.SignIn do
<.flash flash={@flash} kind={:info} />
<.flash :if={not Accounts.account_active?(@account)} kind={:error} style="wide">
This account has been disabled, please contact your administrator.
This account has been disabled. Please contact your administrator to re-enable it.
</.flash>
<%= if trial_ends_at = get_in(@account.metadata.stripe.trial_ends_at) do %>

View File

@@ -75,6 +75,8 @@ defmodule Web.SignInTest do
{:ok, _account} = Domain.Accounts.update_account(account, %{disabled_at: DateTime.utc_now()})
Fixtures.Auth.create_email_provider(account: account)
{:ok, _lv, html} = live(conn, ~p"/#{account}")
assert html =~ "This account has been disabled, please contact your administrator."
assert html =~
"This account has been disabled. Please contact your administrator to re-enable it."
end
end