Skip to content
Snippets Groups Projects
Commit 4f429e25 authored by Erik Karlsson's avatar Erik Karlsson Committed by Vivek Dutta
Browse files

Do not force MD5 as the password hash

parent 44e65669
No related branches found
No related tags found
1 merge request!27Do not force MD5 as the password hash
Pipeline #129600 passed
...@@ -72,7 +72,7 @@ create_user() { ...@@ -72,7 +72,7 @@ create_user() {
# set password # set password
if [ -n "$password" ]; then if [ -n "$password" ]; then
echo "$user:$password" | chpasswd -c MD5 echo "$user:$password" | chpasswd
uci -q delete users."$user".password uci -q delete users."$user".password
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment