From 042ba072f30eb92478e78ebdc407c9ccfe0bc47f Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 1 Jul 2021 15:10:21 +0200 Subject: [PATCH] refactor: Reset Password Page --- frontend/src/locales/de.json | 3 +- frontend/src/locales/en.json | 3 +- frontend/src/views/Pages/ResetPassword.vue | 159 ++++----------------- 3 files changed, 34 insertions(+), 131 deletions(-) diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index 7d42be813..3904cd7f7 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -141,6 +141,7 @@ }, "reset-password": { "title": "Passwort zurücksetzen", - "text": "Jetzt kannst du ein neues Passwort speichern, mit dem du dich zukünftig in der Gradido-App anmelden kannst." + "text": "Jetzt kannst du ein neues Passwort speichern, mit dem du dich zukünftig in der Gradido-App anmelden kannst.", + "not-authenticated": "Leider konnten wir dich nicht authentifizieren. Bitte wende dich an den Support." } } diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index ce4199711..95016d810 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -142,6 +142,7 @@ }, "reset-password": { "title": "Reset Password", - "text": "Now you can save a new password to login to the Gradido-App in the future." + "text": "Now you can save a new password to login to the Gradido-App in the future.", + "not-authenticated": "Unfortunately we could not authenticate you. Please contact the support." } } diff --git a/frontend/src/views/Pages/ResetPassword.vue b/frontend/src/views/Pages/ResetPassword.vue index 1f1cbdbc0..910ad3f4e 100644 --- a/frontend/src/views/Pages/ResetPassword.vue +++ b/frontend/src/views/Pages/ResetPassword.vue @@ -1,102 +1,34 @@