Refactor: 2FAuth (#9582)

* Refactor

* Update

* Update
This commit is contained in:
Slaviša Arežina
2025-12-02 16:36:44 +01:00
committed by GitHub
parent fc2f72b2ac
commit 0f1db8cc8e
2 changed files with 14 additions and 34 deletions

View File

@@ -40,10 +40,7 @@ function update_script() {
msg_ok "Backup Created"
if ! dpkg -l | grep -q 'php8.3'; then
$STD apt-get install -y \
lsb-release \
gnupg2
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,mysql,cli" PHP_FPM="YES" setup_php
PHP_VERSION="8.3" PHP_MODULE="common,ctype,fileinfo,mysql,cli,tokenizer,dom,redis,session,openssl" PHP_FPM="YES" setup_php
sed -i 's/php8.2/php8.3/g' /etc/nginx/conf.d/2fauth.conf
fi
fetch_and_deploy_gh_release "2fauth" "Bubka/2FAuth"