mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-01 20:55:16 +09:00
Show the older-QR hint on enroll
This commit is contained in:
1 parent
b156e2dce1
commit
bc750ea6e4
1 file changed
+5
-5
@@ -160,10 +160,7 @@ const SetupStepSecurity = ({ onComplete }) => {
|
||||
{error && (
|
||||
<div className="tier-warning">
|
||||
<AlertTriangle size={20} className="tier-warning-icon" />
|
||||
<div className="tier-warning-text">
|
||||
{error}
|
||||
{confirmFailed && <> {t('app.securitySettingsTab.codeMayBeFromOlderQr', 'The code may be from an older QR. Use the code for the QR currently on screen.')}</>}
|
||||
</div>
|
||||
<div className="tier-warning-text">{error}</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
@@ -233,7 +230,10 @@ const SetupStepSecurity = ({ onComplete }) => {
|
||||
{error && (
|
||||
<div className="tier-warning">
|
||||
<AlertTriangle size={20} className="tier-warning-icon" />
|
||||
<div className="tier-warning-text">{error}</div>
|
||||
<div className="tier-warning-text">
|
||||
{error}
|
||||
{confirmFailed && <> {t('app.securitySettingsTab.codeMayBeFromOlderQr', 'The code may be from an older QR. Use the code for the QR currently on screen.')}</>}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
Reference in new issue
Block a user