1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

Delete not used fake email

This commit is contained in:
plopoyop 2014-08-29 08:09:30 +02:00
parent ff92c956c8
commit b27b437203
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
'old_entries' => 3,
'keep_history_default' => 0,
'ttl_default' => 3600,
'mail_login' => 'ynoUserEmail',
'mail_login' => '',
'token' => '',
'passwordHash' => '',
'apiPasswordHash' => '',

View file

@ -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