This topic is locked

Unable to login after migrating from phprunner enteprise 10.2 to 10.9

1/11/2024 12:16:16 PM
PHPRunner General questions
E
erickare author

I have developed a workstream web application using phprunner enterprise 10.2. I have implemented dynamic permission with hash encryption feature for the password. I use WampServer Version 2.5 which has php version 5.5.12.

Recently, I have migrated to phprunner enterprise 10.9. I could not login using existing admin password. I managed to add new admin account and i was able to login. however, existing user can't login and when I change password through admin page, it does not address the issue. I incorporated hash function in event (before record update) for admin user table to encrypt the password to ensure the enforcement of the existing security in the existing web application developed using phprunner 10.2.
Example of the code used before record update:
function BeforeEdit($values, $sqlValues, $where, $oldvalues, $keys, $message, $inline, $pageObject)
{
$values["password"] = getPasswordHash($values["password"]);
return true;
}

Is migrating from phprunner 10.2 to 10.9 affect login credential of the existing users?

Looking your support.

fhumanes 1/12/2024

Hi @erickare,

I think your problem comes by changing the Something of Password encryption.

In version 10.2, almost normal is the MD5 algorithm and by the code you facilitate in BCRYPT

img alt

https://xlinesoft.com/phprunner/docs/secapi_password_hashing.htm

Greetings,
fernando