|
1 | | -<.focus_box> |
2 | | - <:title> |
3 | | - Single Sign-On enforcement |
4 | | - </:title> |
5 | | - <:subtitle> |
6 | | - The owner of <span :if={is_nil(@conn.assigns[:current_team])}>the team</span> |
7 | | - <span :if={@conn.assigns[:current_team]}>"{@conn.assigns[:current_team].name}"</span> |
8 | | - has turned off regular email and password logins. |
9 | | - To keep things secure and simple, you can only sign in using your organization's |
10 | | - Single Sign-On (SSO) system. |
11 | | - </:subtitle> |
12 | | - |
13 | | - <p :if={@issue == :multiple_memberships} class="text-sm"> |
14 | | - To access this team, you must first leave all other teams. |
15 | | - </p> |
16 | | - |
17 | | - <p :if={@issue == :multiple_memberships_noforce} class="text-sm"> |
18 | | - To log in as an SSO user, you must first leave all other teams. |
19 | | - </p> |
20 | | - |
21 | | - <div :if={@issue == :active_personal_team} class="text-sm flex flex-col space-y-2"> |
22 | | - <p> |
23 | | - To access this team, you must either remove or transfer all sites you own under "My Personal Sites". |
24 | | - </p> |
25 | | - |
26 | | - <p> |
27 | | - You also have to cancel subscription for "My Personal Sites" if there is an active one. |
28 | | - </p> |
29 | | - </div> |
30 | | - |
31 | | - <div :if={@issue == :active_personal_team_noforce} class="text-sm flex flex-col space-y-2"> |
32 | | - <p> |
33 | | - To log in as an SSO user, you must either remove or transfer all sites you own under "My Personal Sites". |
34 | | - </p> |
35 | | - |
36 | | - <p> |
37 | | - You also have to cancel subscription on "My Personal Sites" if there is an active one. |
38 | | - </p> |
39 | | - </div> |
40 | | - |
41 | | - <p :if={@issue == :not_a_member} class="text-sm"> |
42 | | - To access this team, you must join as a team member first. |
| 1 | +<div class="w-full max-w-md mx-auto mt-6 pb-16 px-4 flex flex-col items-center gap-y-4 text-center text-base text-gray-500 dark:text-gray-400 text-pretty"> |
| 2 | + <p> |
| 3 | + The owner of |
| 4 | + <span :if={is_nil(@conn.assigns[:current_team])}>the team</span><span |
| 5 | + :if={@conn.assigns[:current_team]} |
| 6 | + class="font-semibold" |
| 7 | + >"{@conn.assigns[:current_team].name}"</span> |
| 8 | + has turned off email and password logins, so you can only sign in with your organization's Single Sign-On. |
| 9 | + <span :if={@issue == :not_a_member}> |
| 10 | + To access this team, you must be added as a team member first. |
| 11 | + </span> |
| 12 | + <span :if={@issue == :multiple_memberships}> |
| 13 | + To access this team, you must leave all other teams first. |
| 14 | + </span> |
| 15 | + <span :if={@issue == :multiple_memberships_noforce}> |
| 16 | + To sign in with SSO, you must leave all other teams first. |
| 17 | + </span> |
| 18 | + <span :if={@issue == :active_personal_team}> |
| 19 | + To access this team, remove or transfer all sites under |
| 20 | + <span class="font-semibold">"My Personal Sites"</span> |
| 21 | + and cancel its subscription if active. |
| 22 | + </span> |
| 23 | + <span :if={@issue == :active_personal_team_noforce}> |
| 24 | + To sign in with SSO, remove or transfer all sites under |
| 25 | + <span class="font-semibold">"My Personal Sites"</span> |
| 26 | + and cancel its subscription if active. |
| 27 | + </span> |
43 | 28 | </p> |
44 | 29 |
|
45 | | - <p :if={!@conn.assigns[:current_user]} class="text-sm mt-4"> |
| 30 | + <p :if={!@conn.assigns[:current_user]}> |
46 | 31 | <.styled_link href={Routes.auth_path(@conn, :login_form, prefer: "manual")}> |
47 | | - Log in |
| 32 | + Sign in with email and password |
48 | 33 | </.styled_link> |
49 | | - with your email and password to resolve the issue. |
| 34 | + to resolve the issue. |
50 | 35 | </p> |
51 | | -</.focus_box> |
| 36 | +</div> |
0 commit comments