mirror of
https://github.com/YunoHost-Apps/code-server_ynh.git
synced 2024-09-03 18:16:28 +02:00
fix
This commit is contained in:
parent
b5bc73101c
commit
9d53cbbbe3
2 changed files with 8 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
|||
#=================================================
|
||||
|
||||
extensions_gallery="{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}"
|
||||
auth="none"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -83,6 +83,14 @@ then
|
|||
ynh_app_setting_delete --app=$app --key="enable_proposed_api"
|
||||
fi
|
||||
|
||||
if [ "$hashed_password" ]
|
||||
then
|
||||
auth="password"
|
||||
else
|
||||
auth="none"
|
||||
fi
|
||||
ynh_app_setting_get --app=$app --key=auth --value=$auth
|
||||
|
||||
ynh_secure_remove --file=$final_path
|
||||
mkdir -p $final_path
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue