Add reload restart

This commit is contained in:
Wildan M 2024-10-27 03:13:59 +07:00
parent 9f369fde23
commit eb1d772c27
4 changed files with 4 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -327,7 +327,7 @@ body, html {
#menu:hover .dropup-content { #menu:hover .dropup-content {
display: block; display: block;
} }
#logBtn, #credentialsBtn, #reauthBtn { #logBtn, #credentialsBtn, #reauthBtn, #restartBtn {
color: #000; color: #000;
} }

View file

@ -108,7 +108,7 @@ body, html {
#menu:hover .dropup-content { #menu:hover .dropup-content {
display: block; display: block;
} }
#logBtn, #credentialsBtn, #reauthBtn { #logBtn, #credentialsBtn, #reauthBtn, #restartBtn {
color: #000; color: #000;
} }

View file

@ -63,6 +63,7 @@ function reauthSession() { // eslint-disable-line
function restartSession() { // eslint-disable-line function restartSession() { // eslint-disable-line
debug('restarting'); debug('restarting');
socket.emit('control', 'reauth'); socket.emit('control', 'reauth');
window.location.reload();
return false; return false;
} }