Skip to content

Commit

Permalink
Bugfix: Nextcloud shows invalid "Temporary password"
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Oct 21, 2022
1 parent bcf63b6 commit 62a14a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function getForm()
\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';
Expand Down

0 comments on commit 62a14a3

Please sign in to comment.