Skip to content

Commit

Permalink
fix: lowercase registered users (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu authored Jul 1, 2024
1 parent a4ecffe commit 99a5fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/UsersService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class UsersService {
}

register(name: string, password: string, email: any) {
return this.repository.createUser(name, password, email);
return this.repository.createUser(name, password, email.toLowerCase());
}

deleteUser(owner: any) {
Expand Down

0 comments on commit 99a5fee

Please sign in to comment.