lowercase username for UsedUsernamesRepository - fixes #1161
This commit is contained in:
parent
ed68230811
commit
97e7011622
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
'Your Account has been declined!');
|
||||
}
|
||||
|
||||
await this.usedUsernamesRepository.delete({ username: user.username });
|
||||
await this.usedUsernamesRepository.delete({ username: user.username.toLowerCase() });
|
||||
|
||||
await this.deleteAccountService.deleteAccount(user);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue