Mfa enforce settings
Created by: melanger
Merge request reports
Activity
51 53 throw new Exception('authswitcher:SwitchMfaMethods: ' . $variable . ' missing in state attributes'); 52 54 } 53 55 } 56 57 public static function isMFAEnforced($state, $entityID = null) 58 { 59 if (!empty($state['Attributes'][AuthSwitcher::MFA_ENFORCE_SETTINGS])) { 60 $settings = $state['Attributes'][AuthSwitcher::MFA_ENFORCE_SETTINGS]; 61 if (is_string($settings)) { 62 $settings = json_decode($settings, true, 3, JSON_THROW_ON_ERROR); 63 } 64 65 if (!empty($settings['all'])) { 66 Logger::info(self::DEBUG_PREFIX . 'MFA was forced for all services by settings'); Created by: github-actions[bot]
This PR is included in version 10.7.0The release is available on GitHub release
Your semantic-release bot :package::rocket:
Please register or sign in to reply