diff --git a/content/js/shell/func.js b/content/js/shell/func.js index da9b899..cd4ff24 100644 --- a/content/js/shell/func.js +++ b/content/js/shell/func.js @@ -106,7 +106,7 @@ function su(cmd) { password_hash = hash(prompt('Enter your password')); } - if (!password_hash) { + if (!password_hash && !root) { return 'Not authenticated. (empty password)' }