feat: add auth extension points and one ssh connect pipeline

This commit is contained in:
LukeGus committed 2026-09-23 00:44:33 -05:00
1 parent d3c209af13
commit d774df8b41
159 files changed
+43243 -7451

No files matched your search

+5 -1
View File
@@ -1850,7 +1850,11 @@ export async function getRegistrationAllowed(): Promise<{ allowed: boolean }> {
}
}
export async function getPasswordLoginAllowed(): Promise<{ allowed: boolean }> {
export async function getPasswordLoginAllowed(): Promise<{
allowed: boolean;
/** Turned off by an admin but kept on because nothing else can sign in. */
forced?: boolean;
}> {
try {
const response = await authApi.get("/users/password-login-allowed");
return response.data;