summaryrefslogtreecommitdiff
path: root/hscript/user.cc
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 02:42:58 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-10-12 02:42:58 -0500
commit15602ba87871b11a7949248a3e732ae89d44417c (patch)
treefe5ce9aacda5ba41bb13c72d412a94847a490931 /hscript/user.cc
parentf6314c777b5929247633db32d48c79db8a6c58c5 (diff)
downloadhorizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.gz
horizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.bz2
horizon-15602ba87871b11a7949248a3e732ae89d44417c.tar.xz
horizon-15602ba87871b11a7949248a3e732ae89d44417c.zip
hscript: Turn rootpw validation true by default
Diffstat (limited to 'hscript/user.cc')
-rw-r--r--hscript/user.cc3
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 {