diff --git a/scripts/install b/scripts/install index 70ed8d8..341a064 100644 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,7 @@ yunohost service add $app --description="$app daemon for Wiki.js" --log="/var/lo #================================================= ynh_script_progression --message="Creating LDAP user..." -yunohost user create $ldap_user --firstname "SvcWikijsLdap" --lastname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 +yunohost user create $ldap_user --fullname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 #================================================= # ADD A CONFIGURATION diff --git a/scripts/restore b/scripts/restore index 1fde7af..fb636d3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -51,7 +51,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name" #================================================= ynh_script_progression --message="Creating LDAP user..." -yunohost user create $ldap_user --firstname "SvcWikijsLdap" --lastname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 +yunohost user create $ldap_user --fullname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index fb22e13..5fdc6e9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,7 +35,7 @@ if [[ -z "$ldap_user" ]]; then ldap_password=$(ynh_string_random --length=8) ynh_app_setting_set "$app" ldap_user "$ldap_user" ynh_app_setting_set "$app" ldap_password "$ldap_password" - yunohost user create $ldap_user --firstname "SvcWikijsLdap" --lastname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 + yunohost user create $ldap_user --fullname "SvcWikijsLdap" --domain $domain --password $ldap_password -q 0 fi #=================================================