1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

add jwt_token

This commit is contained in:
Éric Gaspar 2023-04-25 10:07:15 +02:00
parent 54a1f7b047
commit dd7a2870bd
2 changed files with 10 additions and 0 deletions

2
doc/POST_INSTALL.md Normal file
View file

@ -0,0 +1,2 @@
__JWT_TOKEN__

View file

@ -69,6 +69,14 @@ ynh_script_progression --message="Generating fonts..."
/usr/bin/documentserver-generate-allfonts.sh
#=================================================
# SEND A README FOR THE ADMIN
#=================================================
ynh_script_progression --message="Sending a readme for the admin..."
jwt_token=$(documentserver-jwt-status.sh | sed "3q;d" | cut -d "-" -f 2 | tr -d ' ')
ynh_app_setting_set --app=$app --key=jwt_token --value=$jwt_token
#=================================================
# END OF SCRIPT
#=================================================