mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +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").addClass("mdi-action-lock");
|
||||||
$("#admin-lock").removeClass("mdi-action-lock-open clickable");
|
$("#admin-lock").removeClass("mdi-action-lock-open clickable");
|
||||||
$(".card-action").addClass("hide");
|
$(".card-action").addClass("hide");
|
||||||
|
adminpass = "";
|
||||||
document.getElementById("password").value = "";
|
document.getElementById("password").value = "";
|
||||||
Materialize.toast("Logged out", 4000);
|
Materialize.toast("Logged out", 4000);
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user