diff --git a/conf/dist_user.conf b/conf/dist_user.conf index a9b3970..4e76155 100644 --- a/conf/dist_user.conf +++ b/conf/dist_user.conf @@ -4,7 +4,7 @@ 'old_entries' => 3, 'keep_history_default' => 0, 'ttl_default' => 3600, - 'mail_login' => 'ynoUserEmail', + 'mail_login' => '', 'token' => '', 'passwordHash' => '', 'apiPasswordHash' => '', diff --git a/scripts/install b/scripts/install index 08f6178..b068e3c 100755 --- a/scripts/install +++ b/scripts/install @@ -61,7 +61,7 @@ do sudo cp ../conf/dist_user.conf $final_path/data/$myuser\_user.php #change email - utilise seulement par persona - non necessaire pour ynh #user_email=$(ldapsearch -h localhost -b uid=$myuser,ou=users,dc=yunohost,dc=org -x objectClass=mailAccount mail | grep mail: | head -n 1| sed 's/mail: //') - sudo sed -i "s/ynoUserEmail/$user_email/g" $final_path/data/$myuser\_user.php + #sudo sed -i "s/ynoUserEmail/$user_email/g" $final_path/data/$myuser\_user.php #change username sudo sed -i "s/YnoUser/$myuser/g" $final_path/data/$myuser\_user.php sudo sed -i "s@sharingArrayYnh@$sharingWallabag@g" $final_path/data/$myuser\_user.php