Feature 11034: Forgot Password in OSM
[osm/NG-UI.git] / src / services / AuthenticationService.ts
index 904c1cf..e839f75 100644 (file)
@@ -65,6 +65,9 @@ export class AuthenticationService {
     /** 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;
 
@@ -115,6 +118,13 @@ export class AuthenticationService {
         return this.changePassword.asObservable();
     }
 
+    /**
+     * Get method for  Observable forgotssword
+     */
+    get isForgotPassword(): Observable<boolean> {
+        return this.forgotPassword.asObservable();
+    }
+
     /**
      * Get method for Observable Username
      */