fix: [Email OTP] invalid ACL check reverted, allowing the feature to function again

pull/9741/head
iglocska 2024-05-03 08:16:28 +02:00
parent 6f2e162fd8
commit 9f3735c5c2
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -794,7 +794,7 @@ class ACLComponent extends Component
'discardRegistrations' => array(),
'downloadTerms' => array('*'),
'edit' => array('self_management_enabled'),
'email_otp' => array('otp_enabled'),
'email_otp' => array('*'),
'forgot' => ['AND' => ['password_forgotten_enabled', 'password_change_enabled']],
'otp' => ['otp_enabled'],
'hotp' => ['otp_enabled'],