mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
rename disabled to deleted
This commit is contained in:
parent
9f4762647b
commit
09258eb57a
@ -252,7 +252,7 @@ export class UserResolver {
|
|||||||
throw new Error('No user with this credentials')
|
throw new Error('No user with this credentials')
|
||||||
})
|
})
|
||||||
if (dbUser.deletedAt) {
|
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) {
|
if (!dbUser.emailChecked) {
|
||||||
throw new Error('User email not validated')
|
throw new Error('User email not validated')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user