1
0
Fork 0
mirror of synced 2024-09-30 17:26:48 +13:00

chore: update auth group

This commit is contained in:
Christy Jacob 2024-01-29 17:42:14 +00:00
parent af21b44125
commit 0ff6e99354

View file

@ -346,6 +346,12 @@ App::init()
}
break;
case 'phone':
if (($auths['phone'] ?? true) === false) {
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Phone authentication is disabled for this project');
}
break;
case 'invites':
if (($auths['invites'] ?? true) === false) {
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Invites authentication is disabled for this project');