mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): Fix grammar on account lockout message (#8149)
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user