+
-
-
-
-
Forgot password
- Select which contact details should we use to reset your password:
+ Select which contact details should we use to reset your
+ password:
@@ -28,43 +27,64 @@
+
+
Forgot Password
+
+
Enter your registered email
+
+
+
+
+
-
Forgot password
-
- Enter your registered email
-
-
-
+
+
Continue
-
-
-
-
Forgot password
- Code has been sent to the your registered email
+ Code has been sent to the your registered email
-
+
Continue
-
-
Already have an account? Login
+
+ Already have an account?
+ Login
diff --git a/src/app/pages/login/login.page.html b/src/app/pages/login/login.page.html
index 81d2091..355e8b8 100644
--- a/src/app/pages/login/login.page.html
+++ b/src/app/pages/login/login.page.html
@@ -44,7 +44,7 @@
>Welcome back
-
+
+
{{login_response}}
diff --git a/src/app/pages/login/login.page.ts b/src/app/pages/login/login.page.ts
index b89ab02..f8e502a 100644
--- a/src/app/pages/login/login.page.ts
+++ b/src/app/pages/login/login.page.ts
@@ -53,6 +53,8 @@ export class LoginPage implements OnInit {
signup_country:string='';
signup_username:string='';
+ login_response:string="";
+
constructor(
private router: Router,
private wrenchService: WrenchService,
@@ -128,6 +130,7 @@ getBlogData(){
username: string, password: string, sessionid: string
};
async startLogin() {
+ this.login_response = "";
const loading = await this.loadingCtrl.create({
message: 'Starting ... ',
duration: 3500,
@@ -171,7 +174,12 @@ getBlogData(){
this.signup_country = loginResult.country;
}
else{
- this.showAlert("Error","Invalid username/password");
+ this.login_response = "Invalid username or Password";
+ setTimeout(()=>{
+ this.login_response = "";
+ }, 5000);
+
+ // this.showAlert("Error","Invalid username/password");
this.isDisabled=false;
}
// this.showAlert("Error","Invalid username/password");