Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
don't encrypt email and password, as it's not necessary at this point…
Browse files Browse the repository at this point in the history
… #33, #39
  • Loading branch information
severinstampler committed Apr 11, 2022
1 parent d719e43 commit 4897087
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export default {
try {
const loginResponse = await this.$auth.loginWith("local", {
data: {
id: await this.hashWithSalt(this.email),
password: await this.hashWithSalt(this.password)
id: this.email,
password: this.password
}
})
this.$auth.setUser(loginResponse.data)
Expand Down

0 comments on commit 4897087

Please sign in to comment.