mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
commit
e7ee676954
4 changed files with 9 additions and 9 deletions
|
@ -28,7 +28,7 @@ It aims to ease you perform your 2FA authentication steps whatever the device yo
|
||||||
- Edit accounts, even the imported ones
|
- Edit accounts, even the imported ones
|
||||||
- Generate TOTP and HOTP security codes
|
- Generate TOTP and HOTP security codes
|
||||||
|
|
||||||
**Shipped version:** 4.1.0~ynh2
|
**Shipped version:** 4.1.0~ynh3
|
||||||
|
|
||||||
**Demo:** https://demo.2fauth.app/login
|
**Demo:** https://demo.2fauth.app/login
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ It aims to ease you perform your 2FA authentication steps whatever the device yo
|
||||||
- Edit accounts, even the imported ones
|
- Edit accounts, even the imported ones
|
||||||
- Generate TOTP and HOTP security codes
|
- Generate TOTP and HOTP security codes
|
||||||
|
|
||||||
**Version incluse :** 4.1.0~ynh2
|
**Version incluse :** 4.1.0~ynh3
|
||||||
|
|
||||||
**Démo :** https://demo.2fauth.app/login
|
**Démo :** https://demo.2fauth.app/login
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "2FAuth"
|
||||||
description.en = "self-hosted alternative to One Time Passcode"
|
description.en = "self-hosted alternative to One Time Passcode"
|
||||||
description.fr = "Alternative auto-hébergée a One Time Passcode"
|
description.fr = "Alternative auto-hébergée a One Time Passcode"
|
||||||
|
|
||||||
version = "4.1.0~ynh2"
|
version = "4.1.0~ynh3"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir" --keep="storage"
|
ynh_setup_source --dest_dir="$install_dir" --keep="storage .env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
@ -66,15 +66,15 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD A CONFIGURATION
|
# ADD A CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
#ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
email=$(ynh_user_get_info --username=$admin --key=mail)
|
#email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
# Setup application config
|
# Setup application config
|
||||||
ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
|
#ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
|
||||||
|
|
||||||
chmod 644 "$install_dir/.env"
|
#chmod 644 "$install_dir/.env"
|
||||||
chown $app:$app "$install_dir/.env"
|
#chown $app:$app "$install_dir/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL 2FAUTH WITH COMPOSER
|
# INSTALL 2FAUTH WITH COMPOSER
|
||||||
|
|
Loading…
Add table
Reference in a new issue