diff --git a/AWS-APP/Dashboard/scripts.js b/AWS-APP/Dashboard/scripts.js index 200c124..6b823ef 100644 --- a/AWS-APP/Dashboard/scripts.js +++ b/AWS-APP/Dashboard/scripts.js @@ -127,7 +127,7 @@ document.addEventListener('DOMContentLoaded', function() { if (!sessionStorage.getItem('username')) { - window.location.href = '../Login/index.html'; + window.location.href = '../index.html'; } diff --git a/AWS-APP/Register/signup.html b/AWS-APP/Register/signup.html index 7d1b2df..56ce673 100644 --- a/AWS-APP/Register/signup.html +++ b/AWS-APP/Register/signup.html @@ -21,7 +21,7 @@
Already have an account? - Sign in! + Sign in!
diff --git a/AWS-APP/Verification/verify.js b/AWS-APP/Verification/verify.js index 0079e3a..7b0ed22 100644 --- a/AWS-APP/Verification/verify.js +++ b/AWS-APP/Verification/verify.js @@ -6,7 +6,7 @@ const userPool = new AmazonCognitoIdentity.CognitoUserPool({ document.addEventListener('DOMContentLoaded', function() { if (!sessionStorage.getItem('username')) { - window.location.href = '../Login/index.html'; + window.location.href = '../index.html'; } }) @@ -40,6 +40,6 @@ function verifyUser(otpCode) { return; } alert(result); - window.location.href = '../Login/index.html'; + window.location.href = '../index.html'; }); } diff --git a/AWS-APP/Login/index.html b/AWS-APP/index.html similarity index 72% rename from AWS-APP/Login/index.html rename to AWS-APP/index.html index ff4790c..b6a1608 100644 --- a/AWS-APP/Login/index.html +++ b/AWS-APP/index.html @@ -5,7 +5,7 @@