summaryrefslogtreecommitdiff
path: root/templates/system/login
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/login')
-rw-r--r--templates/system/login/user/node.tag/authentication/plaintext-password/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system/login/user/node.tag/authentication/plaintext-password/node.def b/templates/system/login/user/node.tag/authentication/plaintext-password/node.def
index 12a74a36..242a623d 100644
--- a/templates/system/login/user/node.tag/authentication/plaintext-password/node.def
+++ b/templates/system/login/user/node.tag/authentication/plaintext-password/node.def
@@ -6,5 +6,5 @@ help: Plaintext password for encryption
# password).
update:expression: $VAR(@) == "" \
|| ($VAR(../encrypted-password/@) \
- = `/usr/bin/mkpasswd -H md5 '$VAR(@)' | tr -d \\\\n` \
+ = `/usr/bin/mkpasswd --method=sha-512 '$VAR(@)' | tr -d \\\\n` \
&& $VAR(@) = "")