Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit ba276b5

Browse files
author
Michael Grauer
committed
BUG: refs #952. Had mistakenly removed needed convertLegacy in previous commit.
1 parent a1fe64c commit ba276b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/controllers/UserController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,10 @@ function loginAction()
491491
return;
492492
}
493493
}
494+
if(version_compare($currentVersion, '3.2.12', '>=') && $userDao->getSalt() == '')
495+
{
496+
$passwordHash = $this->User->convertLegacyPasswordHash($userDao, $form->getValue('password'));
497+
}
494498
$remember = $form->getValue('remerberMe');
495499
if(isset($remember) && $remember == 1)
496500
{

0 commit comments

Comments
 (0)