mirror of
https://github.com/YunoHost-Apps/ztncui_ynh.git
synced 2024-09-03 18:06:05 +02:00
[fix] no need to rehash password during upgrade
This commit is contained in:
parent
35d8edd4c8
commit
e45afc1543
1 changed files with 0 additions and 1 deletions
|
@ -157,7 +157,6 @@ echo "ZT_ADDR=localhost:$(</var/lib/zerotier-one/zerotier-one.port)" >> $env_fil
|
|||
echo "HTTP_PORT=$port" >> $env_file
|
||||
|
||||
# Setup user credentials file
|
||||
hashedpassword=$(echo -n "$password" | $final_path/src/node_modules/argon2-cli -e)
|
||||
echo "{\"$admin\":{\"name\":\"$admin\",\"pass_set\":true,\"hash\":\"$hashedpassword\"}}" >> "$final_path/src/etc/passwd"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue