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

This commit is contained in:
Jamie Curnow
2020-08-27 10:10:31 +10:00
parent e7f7be2a2b
commit a91dcb144d
3 changed files with 6 additions and 37 deletions

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();
}