rename disabled to deleted

This commit is contained in:
ogerly 2022-02-18 14:44:56 +01:00 committed by Ulf Gebhardt
parent 9f4762647b
commit 09258eb57a
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -252,7 +252,7 @@ export class UserResolver {
throw new Error('No user with this credentials')
})
if (dbUser.deletedAt) {
throw new Error('This user was permanently disabled. Contact support for questions.')
throw new Error('This user was permanently deleted. Contact support for questions.')
}
if (!dbUser.emailChecked) {
throw new Error('User email not validated')