1
0
Fork 0
mirror of synced 2024-09-29 08:51:28 +13:00

Update app/config/errors.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani 2024-02-11 14:41:32 +05:45 committed by GitHub
parent 622bdb7b2b
commit eba03cb126
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -251,7 +251,7 @@ return [
'description' => 'User phone is already verified',
'code' => 409
],
Exception::USER_DELETION_WITH_ACTIVE_TEAMS => [
Exception::USER_DELETION_PROHIBITED => [
'name' => Exception::USER_DELETION_WITH_ACTIVE_TEAMS,
'description' => 'User deletion is not allowed for users with active memberships. Please delete all confirmed memberships before deleting the account.',
'code' => 400