diff --git a/CoreHome.Admin/Views/Home/Index.cshtml b/CoreHome.Admin/Views/Home/Index.cshtml
index 0770c773..4852349b 100644
--- a/CoreHome.Admin/Views/Home/Index.cshtml
+++ b/CoreHome.Admin/Views/Home/Index.cshtml
@@ -40,39 +40,39 @@
-
+
-
Signin with Password
+
Login with Password
-
Signin with verification code
+
Login with verification code
-
+
-
+
diff --git a/CoreHome.Admin/wwwroot/js/home/index.js b/CoreHome.Admin/wwwroot/js/home/index.js
index da324415..381076ea 100644
--- a/CoreHome.Admin/wwwroot/js/home/index.js
+++ b/CoreHome.Admin/wwwroot/js/home/index.js
@@ -1,6 +1,6 @@
let timeOut = 60;
-function signIn() {
+function login() {
getPassword();
showTime();
}
@@ -18,11 +18,11 @@ function getPassword() {
}
function showTime() {
- document.querySelector("#btn_sign").setAttribute("disabled", "");
- document.querySelector("#btn_sign").innerText = `Get verification code again(${timeOut}s)`;
+ document.querySelector("#btn_login").setAttribute("disabled", "");
+ document.querySelector("#btn_login").innerText = `Get verification code again (${timeOut}s)`;
timeOut--;
if (timeOut < 0) {
- let btn = document.querySelector("#btn_sign");
+ let btn = document.querySelector("#btn_login");
btn.innerText = "Get verification code again";
btn.removeAttribute("disabled");
timeOut = 60;
@@ -31,7 +31,7 @@ function showTime() {
setTimeout(showTime, 1000);
}
-function changeSigninFunc(index) {
+function changeLoginFunc(index) {
window.localStorage.setItem("SigninFunc", index);
}