mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
fix for webmail password reset
This commit is contained in:
parent
f3f091b4bc
commit
5d32fa16d3
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ case $type in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
owner=$(grep "DOMAIN='$domain'" $conf | head -n 1 | cut -f7 -d '/')
|
owner=$(grep -H "DOMAIN='$domain'" $conf | head -n 1 | cut -f7 -d '/')
|
||||||
if [ -z "$owner" ]; then
|
if [ -z "$owner" ]; then
|
||||||
exit $E_NOTEXIST
|
exit $E_NOTEXIST
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -573,7 +573,7 @@ wget $CHOST/$VERSION/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
|
||||||
wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
|
wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
|
||||||
wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
|
wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
|
||||||
wget $CHOST/$VERSION/roundcube-driver.php -O \
|
wget $CHOST/$VERSION/roundcube-driver.php -O \
|
||||||
/usr/share/roundcubemail/plugins/password/vesta.php
|
/usr/share/roundcubemail/plugins/password/drivers/vesta.php
|
||||||
wget $CHOST/$VERSION/roundcube-pw.conf -O \
|
wget $CHOST/$VERSION/roundcube-pw.conf -O \
|
||||||
/usr/share/roundcubemail/plugins/password/config.inc.php
|
/usr/share/roundcubemail/plugins/password/config.inc.php
|
||||||
r="$(gen_pass)"
|
r="$(gen_pass)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue