mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
2fa portals
This commit is contained in:
@@ -55,7 +55,8 @@ class TwoFactorEmail
|
||||
|
||||
if (
|
||||
!$this->user->isAdmin() &&
|
||||
!$this->user->isRegular()
|
||||
!$this->user->isRegular() &&
|
||||
!$this->user->isPortal()
|
||||
) {
|
||||
throw new Forbidden();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user