mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-28 15:56:39 +00:00
add auth info tip
This commit is contained in:
@@ -1112,6 +1112,7 @@
|
|||||||
"create": "Create",
|
"create": "Create",
|
||||||
"orgs": "Organizations",
|
"orgs": "Organizations",
|
||||||
"loginError": "An error occurred while logging in",
|
"loginError": "An error occurred while logging in",
|
||||||
|
"loginRequiredForDevice": "Login is required to authenticate your device.",
|
||||||
"passwordForgot": "Forgot your password?",
|
"passwordForgot": "Forgot your password?",
|
||||||
"otpAuth": "Two-Factor Authentication",
|
"otpAuth": "Two-Factor Authentication",
|
||||||
"otpAuthDescription": "Enter the code from your authenticator app or one of your single-use backup codes.",
|
"otpAuthDescription": "Enter the code from your authenticator app or one of your single-use backup codes.",
|
||||||
|
|||||||
@@ -361,6 +361,15 @@ export default function LoginForm({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
|
{forceLogin && (
|
||||||
|
<Alert variant="neutral">
|
||||||
|
<AlertDescription className="flex items-center gap-2">
|
||||||
|
<LockIcon className="w-4 h-4" />
|
||||||
|
{t("loginRequiredForDevice")}
|
||||||
|
</AlertDescription>
|
||||||
|
</Alert>
|
||||||
|
)}
|
||||||
|
|
||||||
{showSecurityKeyPrompt && (
|
{showSecurityKeyPrompt && (
|
||||||
<Alert>
|
<Alert>
|
||||||
<FingerprintIcon className="w-5 h-5 mr-2" />
|
<FingerprintIcon className="w-5 h-5 mr-2" />
|
||||||
|
|||||||
Reference in New Issue
Block a user