diff --git a/app/templates/credentials-2fa-setup.php b/app/templates/credentials-2fa-setup.php index 6f5eb91..1eec36b 100644 --- a/app/templates/credentials-2fa-setup.php +++ b/app/templates/credentials-2fa-setup.php @@ -4,88 +4,93 @@ */ ?> -
-
-

Security

-

Set up two-factor authentication

-

Protect your account with an extra verification step whenever you sign in.

+
+
+

Security

+

Set up two-factor authentication

+

Protect your account with an extra verification step whenever you sign in.

- -
- Two-factor authentication adds an extra layer of protection. After setup, you will sign in with both your password and a code from your authenticator app. -
- - -
- +
+
+ Two-factor authentication adds an extra layer of protection. After setup, you will sign in with both your password and a code from your authenticator app.
- - -
-
-

1. Install an authenticator app

-

Use any TOTP-compatible app such as Google Authenticator, Microsoft Authenticator, or Authy.

+ +
+
+ -
-

2. Scan the QR code

-

Open your authenticator app and scan the QR code below.

-
-
-
- Can't scan? Enter this code manually: - + +
+
+

1. Install an authenticator app

+

Use any TOTP-compatible app such as Google Authenticator, Microsoft Authenticator, or Authy.

+
+ +
+

2. Scan the QR code

+

Open your authenticator app and scan the QR code below.

+
+
+
+ Can't scan? Enter this code manually: + +
-
-
-

3. Verify setup

-

Enter the 6-digit code shown in your authenticator app.

-
-
- - +
+

3. Verify setup

+

Enter the 6-digit code shown in your authenticator app.

+ +
+ + +
+ + + + +
+ +
+ +
+ +
+

Backup codes

+

+ Save these codes somewhere secure. Each code can be used once if you lose access to your authenticator app. +

+
+ + +
- - - - - - -
- -
-

Backup codes

-

- Save these codes somewhere secure. Each code can be used once if you lose access to your authenticator app. -

-
- - -
-
-
- -
- Failed to generate 2FA setup data. Please try again. -
- Back to credentials - + +
+ Failed to generate 2FA setup data. Please try again. +
+ + +
diff --git a/app/templates/credentials-2fa-verify.php b/app/templates/credentials-2fa-verify.php index 7096156..6b4dbf0 100644 --- a/app/templates/credentials-2fa-verify.php +++ b/app/templates/credentials-2fa-verify.php @@ -4,27 +4,26 @@ */ ?> -
-
-
-

Security check

-

Two-factor authentication

-

Enter the 6-digit code from your authenticator app to continue.

-
- +
+
+

Security check

+

Two-factor authentication

+

Enter the 6-digit code from your authenticator app to continue.

+
+
-
-
- + +
+ - +
+ +

Lost access to your authenticator app?

-
-
-
- + +
+ - +
+ +
diff --git a/app/templates/credentials-manage.php b/app/templates/credentials-manage.php index d16d607..6ccaaae 100644 --- a/app/templates/credentials-manage.php +++ b/app/templates/credentials-manage.php @@ -5,80 +5,87 @@ */ ?> -
-
-

Security

-

Manage credentials

-

Update your password and keep two-factor authentication status in one place.

+
+
+

Security

+

Manage credentials

+

Update your password and keep two-factor authentication status in one place.

- -
-
-
-
-

Change password

-

Choose a strong password to keep your account safe.

+
+
+
+
+
+

Change password

+

Choose a strong password to keep your account safe.

+
+ Required
- Required -
-
- - -
- - -
- -
- - - Minimum 8 characters -
- -
- - -
- - -
-
- -
-
-
-

Two-factor authentication

-

Strengthen security with a verification code from your authenticator app.

-
- - - -
- - -
- - Two-factor authentication is currently enabled. -
-
+ - + +
+ + +
+ +
+ + + Minimum 8 characters +
+ +
+ + +
+ +
+ +
- -
- - Two-factor authentication is not enabled yet. +
+ +
+
+
+

Two-factor authentication

+

Strengthen security with a verification code from your authenticator app.

+
+ + +
-
- - -
- -
+ + +
+ + Two-factor authentication is currently enabled. +
+
+ +
+ +
+
+ +
+ + Two-factor authentication is not enabled yet. +
+
+ +
+ +
+
+ + +
@@ -89,4 +96,5 @@ document.getElementById('confirm_password').addEventListener('input', function() } else { this.setCustomValidity(''); } -}); +}); + diff --git a/app/templates/credentials.php b/app/templates/credentials.php deleted file mode 100644 index ce49a17..0000000 --- a/app/templates/credentials.php +++ /dev/null @@ -1,51 +0,0 @@ - - -
-
-

Two-factor authentication

-
-
- -
-
-

- - Two-factor authentication is enabled -

- - Your account is protected with an authenticator app - -
-
- - - - -
-
- -
-
-

- - Two-factor authentication is not enabled -

- - Add an extra layer of security to your account by requiring both your password and an authentication code - -
-
- - - - -
-
- -
-