mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
typo in sqlite3 command
This commit is contained in:
parent
d4bac0470d
commit
73f313389f
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ fi
|
||||||
#Setting the proxy authentication in case calibre is not open to visitor.
|
#Setting the proxy authentication in case calibre is not open to visitor.
|
||||||
#https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#login-via-header-from-upstream-authentication-source
|
#https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy#login-via-header-from-upstream-authentication-source
|
||||||
if $(ynh_permission_has_user --permission=main --user=visitors); then
|
if $(ynh_permission_has_user --permission=main --user=visitors); then
|
||||||
sqlite3 $install_dir/app.db "UPDATE settings SET config_reverse_proxy_login_header_name='', config_allow_reverse_proxy_header_login=0 WHERE ID)1;"
|
sqlite3 $install_dir/app.db "UPDATE settings SET config_reverse_proxy_login_header_name='', config_allow_reverse_proxy_header_login=0 WHERE ID=1;"
|
||||||
ynh_replace_string --match_string=" proxy_set_header X-Remote-User" \
|
ynh_replace_string --match_string=" proxy_set_header X-Remote-User" \
|
||||||
--replace_string="# proxy_set_header X-Remote-User" \
|
--replace_string="# proxy_set_header X-Remote-User" \
|
||||||
--target_file="../conf/nginx.conf"
|
--target_file="../conf/nginx.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue