fix(auth): honor SSO-only CLI recovery without restart (#1810)

This commit is contained in:
Anso
2026-08-09 23:48:44 -04:00
committed by GitHub
parent 55ca82abb2
commit 27fe0ae837
9 changed files with 86 additions and 19 deletions
+2 -2
View File
@@ -535,7 +535,7 @@ function AuthenticationModePanel({
<p className="text-xs text-muted-foreground">
Local password login is disabled. Emergency recovery:{' '}
<code className="bg-muted px-1 rounded">{ENABLE_LOCAL_LOGIN_CLI}</code>
{' '}then restart Sencho.
{' '}(no restart required).
</p>
)}
@@ -557,7 +557,7 @@ function AuthenticationModePanel({
<p className="text-xs text-muted-foreground">
If the identity provider is unavailable, recover with{' '}
<code className="bg-muted px-1 rounded">{ENABLE_LOCAL_LOGIN_CLI}</code>
{' '}and restart Sencho.
{' '}(no restart required).
</p>
<label className="flex items-start gap-2 text-sm">
<Checkbox