diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/users/user.service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/users/user.service.ts b/client/src/app/shared/users/user.service.ts index cc5c051f1..d0abc7def 100644 --- a/client/src/app/shared/users/user.service.ts +++ b/client/src/app/shared/users/user.service.ts | |||
@@ -103,6 +103,11 @@ export class UserService { | |||
103 | ) | 103 | ) |
104 | } | 104 | } |
105 | 105 | ||
106 | resetUserPassword (userId: number) { | ||
107 | return this.authHttp.post(UserService.BASE_USERS_URL + userId + '/reset-password', {}) | ||
108 | .pipe(catchError(err => this.restExtractor.handleError(err))) | ||
109 | } | ||
110 | |||
106 | verifyEmail (userId: number, verificationString: string) { | 111 | verifyEmail (userId: number, verificationString: string) { |
107 | const url = `${UserService.BASE_USERS_URL}/${userId}/verify-email` | 112 | const url = `${UserService.BASE_USERS_URL}/${userId}/verify-email` |
108 | const body = { | 113 | const body = { |