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

fullname for user create

`--fist-name` and `--last-name` deprecated
This commit is contained in:
Robles Rodolphe 2022-11-17 14:14:24 +01:00 committed by GitHub
parent e4c293390b
commit c50484e4f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,7 +98,7 @@ if ynh_version_gt "1.0.0~ynh1" "${previous_version}" ; then
ynh_user_password=$(ynh_string_random --length=30)
ynh_app_setting_set --app=$app --key=ynh_user_password --value=$ynh_user_password
yunohost user create ${app}_notifs --firstname "Mobilizon" --lastname "Notifications" --domain $domain --password "$ynh_user_password" -q 0
yunohost user create ${app}_notifs -F Mobilizon Notifications --domain $domain --password "$ynh_user_password" -q 0
yunohost user update ${app}_notifs --add-mailalias $app@$domain --add-mailforward $admin_email
# Manage previous .env file