mirror of
https://git.ari.lt/ari.lt/ari.lt.git
synced 2025-02-04 17:49:24 +01:00
update @ Sun 5 Sep 02:30:22 EEST 2021
This commit is contained in:
parent
6119e2a127
commit
a23aac5a6d
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function su(cmd) {
|
||||||
password_hash = hash(prompt('Enter your password'));
|
password_hash = hash(prompt('Enter your password'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!password_hash) {
|
if (!password_hash && !root) {
|
||||||
return 'Not authenticated. (empty password)'
|
return 'Not authenticated. (empty password)'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue