mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 21:54:35 +08:00
Bugfix: Nextcloud shows invalid "Temporary password"
This commit is contained in:
parent
bcf63b6700
commit
62a14a3ab0
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class AdminSettings implements ISettings
|
|||
\OCA\SnappyMail\Util\SnappyMailHelper::loadApp();
|
||||
$oConfig = \RainLoop\Api::Config();
|
||||
$passfile = APP_PRIVATE_DATA . 'admin_password.txt';
|
||||
$sPassword = $oConfig->Get('security', 'admin_password', '');
|
||||
$sPassword = '';
|
||||
if (\is_file($passfile)) {
|
||||
$sPassword = \file_get_contents($passfile);
|
||||
$parameters['snappymail-admin-panel-link'] .= SnappyMailHelper::getAppUrl().'?admin#/security';
|
||||
|
|
Loading…
Add table
Reference in a new issue