mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-09 00:08:18 +08:00
Merge pull request #1315 from valdur55/master
Add other missing {type} before hash
This commit is contained in:
commit
075293204e
1 changed files with 3 additions and 3 deletions
|
@ -264,12 +264,12 @@ class ChangePasswordPostfixAdminDriver implements \RainLoop\Providers\ChangePass
|
|||
default:
|
||||
case 'plain':
|
||||
case 'cleartext':
|
||||
$sResult = $sPassword;
|
||||
$sResult = '{PLAIN}' . $sPassword;
|
||||
break;
|
||||
|
||||
case 'md5crypt':
|
||||
include_once __DIR__.'/md5crypt.php';
|
||||
$sResult = md5crypt($sPassword);
|
||||
$sResult = '{MD5-CRYPT}' . md5crypt($sPassword);
|
||||
break;
|
||||
|
||||
case 'md5':
|
||||
|
@ -277,7 +277,7 @@ class ChangePasswordPostfixAdminDriver implements \RainLoop\Providers\ChangePass
|
|||
break;
|
||||
|
||||
case 'system':
|
||||
$sResult = crypt($sPassword);
|
||||
$sResult = '{CRYPT}' . crypt($sPassword);
|
||||
break;
|
||||
|
||||
case 'sha256-crypt':
|
||||
|
|
Loading…
Reference in a new issue