Allow to disable non-SSO login

With a new disable_database_login parameter under :mobilizon, :instance

Closes #1154

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-10-28 16:05:55 +02:00
parent fc5b6882ae
commit 579bcaba06
8 changed files with 41 additions and 18 deletions

View File

@@ -79,6 +79,7 @@ export const CONFIG = gql`
}
auth {
ldap
databaseLogin
oauthProviders {
id
label
@@ -386,6 +387,7 @@ export const LOGIN_CONFIG = gql`
query LoginConfig {
config {
auth {
databaseLogin
oauthProviders {
id
label
@@ -450,6 +452,9 @@ export const REGISTRATIONS = gql`
config {
registrationsOpen
registrationsAllowlist
auth {
databaseLogin
}
}
}
`;