mirror of
https://github.com/YunoHost-Apps/humhub_ynh.git
synced 2024-09-03 19:26:11 +02:00
Merge pull request #22 from YunoHost-Apps/better-user-get-info
Better way to get user info / drop reliance on ynh_get_plain_key
This commit is contained in:
commit
0680bf1fb8
1 changed files with 3 additions and 3 deletions
|
@ -137,9 +137,9 @@ ynh_systemd_action --service_name=nginx --action=reload
|
||||||
ynh_script_progression --message="Finalizing installation..." --weight=2
|
ynh_script_progression --message="Finalizing installation..." --weight=2
|
||||||
|
|
||||||
admin_temp_pass=$(ynh_string_random 6)
|
admin_temp_pass=$(ynh_string_random 6)
|
||||||
admin_email=$(yunohost user info "$admin" --output-as plain | ynh_get_plain_key mail)
|
admin_email=$(ynh_user_get_info "$admin" mail)
|
||||||
admin_firstname=$(yunohost user info "$admin" --output-as plain | ynh_get_plain_key firstname)
|
admin_firstname=$(ynh_user_get_info "$admin" firstname)
|
||||||
admin_lastname=$(yunohost user info "$admin" --output-as plain | ynh_get_plain_key lastname)
|
admin_lastname=$(ynh_user_get_info "$admin" lastname)
|
||||||
|
|
||||||
ynh_local_curl "/index.php?r=installer/index/go"
|
ynh_local_curl "/index.php?r=installer/index/go"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue