diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 02:42:58 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-12 02:42:58 -0500 |
commit | 15602ba87871b11a7949248a3e732ae89d44417c (patch) | |
tree | fe5ce9aacda5ba41bb13c72d412a94847a490931 | |
parent | f6314c777b5929247633db32d48c79db8a6c58c5 (diff) | |
download | horizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.gz horizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.bz2 horizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.xz horizon-15602ba87871b11a7949248a3e732ae89d44417c.zip |
hscript: Turn rootpw validation true by default
-rw-r--r-- | hscript/user.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hscript/user.cc b/hscript/user.cc index d02dcfc..cc656a1 100644 --- a/hscript/user.cc +++ b/hscript/user.cc @@ -28,7 +28,8 @@ Key *RootPassphrase::parseFromData(const std::string data, int lineno, } bool RootPassphrase::validate(ScriptOptions) const { - return false; + /* XXX TODO: not sure what other validation we can / should do here. */ + return true; } bool RootPassphrase::execute(ScriptOptions) const { |