public function MoAuthLoginSettings::updateLoginSettings in Google Authenticator / 2 Factor Authentication - 2FA 7
File
- classes/
LoginSettings.php, line 52
Class
Code
public function updateLoginSettings() {
variable_set('mo_auth_enable_two_factor', $this->enable2Factor);
variable_set('mo_auth_enforce_inline_registration', $this->enforceInlineRegistration);
variable_set('mo_auth_two_factor_instead_password', $this->enableOTP_instead_password);
}