| 1: | <?php |
| 2: | |
| 3: | |
| 4: | |
| 5: | |
| 6: | |
| 7: | |
| 8: | namespace Aurora\Modules\OAuthIntegratorWebclient; |
| 9: | |
| 10: | use Aurora\System\SettingsProperty; |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | class Settings extends \Aurora\System\Module\Settings |
| 20: | { |
| 21: | protected function initDefaults() |
| 22: | { |
| 23: | $this->aContainer = [ |
| 24: | "Disabled" => new SettingsProperty( |
| 25: | false, |
| 26: | "bool", |
| 27: | null, |
| 28: | "Setting to true disables the module", |
| 29: | ), |
| 30: | "AuthModuleName" => new SettingsProperty( |
| 31: | "StandardAuth", |
| 32: | "string", |
| 33: | null, |
| 34: | "Reserved for authentication by login/password that relies on database", |
| 35: | ), |
| 36: | "OnlyPasswordForAccountCreate" => new SettingsProperty( |
| 37: | true, |
| 38: | "bool", |
| 39: | null, |
| 40: | "Enables adding password for Outlook Sync and Mobile Sync settings screen for otherwise passwordless accounts", |
| 41: | ), |
| 42: | "AllowNewUsersRegister" => new SettingsProperty( |
| 43: | false, |
| 44: | "bool", |
| 45: | null, |
| 46: | "Enables creating new user account on first login with a social account", |
| 47: | ), |
| 48: | ]; |
| 49: | } |
| 50: | } |
| 51: | |