From 15602ba87871b11a7949248a3e732ae89d44417c Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 12 Oct 2019 02:42:58 -0500 Subject: hscript: Turn rootpw validation true by default --- hscript/user.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3-70-g09d2