From 48970875dbf1f9be5364eeea48c9fa9ff2823dfd Mon Sep 17 00:00:00 2001 From: Severin Stampler Date: Mon, 11 Apr 2022 13:58:49 +0200 Subject: [PATCH] don't encrypt email and password, as it's not necessary at this point #33, #39 --- pages/login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/login.vue b/pages/login.vue index d4581b8..c7af77e 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -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)