Merge branch 'mfa-messaging-fixes' into 'develop'
MFA improvements See merge request soapbox-pub/soapbox-fe!985
This commit is contained in:
commit
7e5fb63deb
9 changed files with 25 additions and 24 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -580,12 +580,12 @@
|
|||
"media_gallery.toggle_visible": "Toggle visibility",
|
||||
"media_panel.empty_message": "No media found.",
|
||||
"media_panel.title": "Media",
|
||||
"mfa.mfa_disable_enter_password": "Enter your current password to disable two-factor auth:",
|
||||
"mfa.mfa_setup_enter_password": "Enter your current password to confirm your identity:",
|
||||
"mfa.mfa_setup_scan_description": "Using your two-factor app, scan this QR code or enter text key:",
|
||||
"mfa.mfa_disable_enter_password": "Enter your current password to disable two-factor auth.",
|
||||
"mfa.mfa_setup_enter_password": "Enter your current password to confirm your identity",
|
||||
"mfa.mfa_setup_scan_description": "Using your two-factor app, scan this QR code or enter the text key.",
|
||||
"mfa.mfa_setup_scan_key": "Key:",
|
||||
"mfa.mfa_setup_scan_title": "Scan",
|
||||
"mfa.mfa_setup_verify_description": "To enable two-factor authentication, enter the code from your two-factor app:",
|
||||
"mfa.mfa_setup_verify_description": "To enable two-factor authentication, enter the code from your two-factor app",
|
||||
"mfa.mfa_setup_verify_title": "Verify",
|
||||
"mfa.otp_enabled_description": "You have enabled two-factor authentication via OTP.",
|
||||
"mfa.otp_enabled_title": "OTP Enabled",
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,10 @@
|
|||
.security-settings-panel {
|
||||
margin: 20px;
|
||||
|
||||
.simple_form {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
h1.security-settings-panel__setup-otp {
|
||||
font-size: 20px;
|
||||
line-height: 1.25;
|
||||
|
@ -26,7 +30,7 @@
|
|||
}
|
||||
|
||||
.backup_codes {
|
||||
margin: 20px;
|
||||
margin: 10px 0;
|
||||
font-weight: bold;
|
||||
padding: 15px 20px;
|
||||
font-size: 14px;
|
||||
|
@ -35,6 +39,9 @@
|
|||
text-align: center;
|
||||
position: relative;
|
||||
min-height: 125px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.backup_code {
|
||||
margin: 5px auto;
|
||||
|
@ -42,22 +49,30 @@
|
|||
}
|
||||
|
||||
.security-settings-panel__setup-otp__buttons {
|
||||
margin: 20px;
|
||||
margin: 15px 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.button {
|
||||
min-width: 182px;
|
||||
flex: 1;
|
||||
}
|
||||
}
|
||||
|
||||
div.confirm-key {
|
||||
&__qr-code {
|
||||
margin: 20px 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&__confirm-key {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-size: 14px;
|
||||
line-height: 1.5;
|
||||
color: var(--primary-text-color--faint);
|
||||
font-weight: 400;
|
||||
margin: 0 0 20px 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -643,20 +643,6 @@ code {
|
|||
font-size: 24px;
|
||||
}
|
||||
|
||||
.qr-code {
|
||||
flex: 0 0 auto;
|
||||
background: var(--foreground-color);
|
||||
padding: 4px;
|
||||
margin: 0 10px 20px 0;
|
||||
box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
|
||||
display: inline-block;
|
||||
|
||||
svg {
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.simple_form {
|
||||
.warning {
|
||||
box-sizing: border-box;
|
||||
|
|
Loading…
Reference in a new issue