Newbie Spellweaver
- Joined
- Dec 30, 2013
- Messages
- 19
- Reaction score
- 1
Hello!
You can improve security for your users:
Open class.core.php
REPLACE
with
In $salt and $salt2 insert a random word for example:
$salt = "549ut85fneif(%&495u8";
$salt2 = "5y8j4g89jndfsaui080??";
NB: If you can't login because appears the error "Password incorrect", you need to update all password from only md5 encryptation to new encryptation.
You can improve security for your users:
Open class.core.php
REPLACE
Code:
final public function hashed($password)
{
return md5($password);
}
with
Code:
final public function hashed($password)
{
$salt = "choose";
$salt2 = "choose";
return sha1($salt.$password.$salt2);
}
In $salt and $salt2 insert a random word for example:
$salt = "549ut85fneif(%&495u8";
$salt2 = "5y8j4g89jndfsaui080??";
NB: If you can't login because appears the error "Password incorrect", you need to update all password from only md5 encryptation to new encryptation.
Last edited: