From 6371fb06223529d2a99fa7e225268d0932e4eba9 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 13 Mar 2022 17:41:37 +0100 Subject: [PATCH] Client - add password reset in users admin --- .../User/ProfileDisplay/UserInfos.vue | 68 ++++++++++++++++--- .../src/locales/en/administration.json | 3 + .../src/locales/fr/administration.json | 5 +- .../src/store/modules/users/actions.ts | 11 ++- .../src/store/modules/users/enums.ts | 2 + .../src/store/modules/users/getters.ts | 3 + .../src/store/modules/users/mutations.ts | 6 ++ .../src/store/modules/users/state.ts | 1 + .../src/store/modules/users/types.ts | 3 + fittrackee_client/src/types/user.ts | 3 +- fittrackee_client/src/views/user/UserView.vue | 16 ++++- 11 files changed, 108 insertions(+), 13 deletions(-) diff --git a/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue b/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue index bbb165c8..1fbfa5ff 100644 --- a/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue +++ b/fittrackee_client/src/components/User/ProfileDisplay/UserInfos.vue @@ -3,11 +3,22 @@ +
+ {{ $t('admin.PASSWORD_RESET_SUCCESSFUL') }} +
{{ $t('user.PROFILE.REGISTRATION_DATE') }}:
{{ registrationDate }}
@@ -28,10 +39,16 @@ +
@@ -45,9 +62,18 @@