Feature 11034: Forgot Password in OSM
- Added support for forgot password from UI
- Added forgot password button in login page
Change-Id: I058a09356c4e2ff5d5b0e883e74f0041d1aaffea
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/services/AuthenticationService.ts b/src/services/AuthenticationService.ts
index 904c1cf..e839f75 100644
--- a/src/services/AuthenticationService.ts
+++ b/src/services/AuthenticationService.ts
@@ -65,6 +65,9 @@
/** Holds the change password in condition of type BehaviorSubject<boolean> @private */
private changePassword: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
+ /** Holds the forgotpassword in condition of type BehaviorSubject<string> @public */
+ public forgotPassword: BehaviorSubject<boolean> = new BehaviorSubject<boolean>(false);
+
/** Hold Rest Service Objects */
private restService: RestService;
@@ -116,6 +119,13 @@
}
/**
+ * Get method for Observable forgotssword
+ */
+ get isForgotPassword(): Observable<boolean> {
+ return this.forgotPassword.asObservable();
+ }
+
+ /**
* Get method for Observable Username
*/
get username(): Observable<string> {