Use model for db defaults as sqlite doesn't support them

This commit is contained in:
Jamie Curnow committed 2021-09-09 08:12:50 +10:00
1 parent e7f7be2a2b
commit a91dcb144d
3 files changed
+6 -37

No files matched your search

+5
View File
@@ -30,6 +30,11 @@ class ProxyHost extends Model {
this.meta = {};
}
// Openidc defaults
if (typeof this.openidc_auth_method === 'undefined') {
this.openidc_auth_method = 'client_secret_post';
}
this.domain_names.sort();
this.openidc_allowed_users.sort();
}