mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
feat: add auth extension points and one ssh connect pipeline
This commit is contained in:
1 parent
d3c209af13
commit
d774df8b41
159 files changed
+43243
-7451
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user