mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Resetting adminpass on logout too
This commit is contained in:
@@ -86,6 +86,7 @@ function log_out(){
|
||||
$("#admin-lock").addClass("mdi-action-lock");
|
||||
$("#admin-lock").removeClass("mdi-action-lock-open clickable");
|
||||
$(".card-action").addClass("hide");
|
||||
adminpass = "";
|
||||
document.getElementById("password").value = "";
|
||||
Materialize.toast("Logged out", 4000);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user