News:

Support the VirtueMart project and become a member

Main Menu

Password lenght & salt iin silent registration

Started by Adam Bazaroff, March 20, 2019, 10:35:43 AM

Previous topic - Next topic

Adam Bazaroff

Make changes to JUserHelper/genRandomPassword in Joomla

public static function genRandomPassword($length = 5)
{
$salt = "0123456789";

but password via silent registration is like "5c91fcb3a88a0"... How I can make it more simple? Something like this "72734"?
/Adam'B ... Poor english mode [ON] ;D

Jörgen

Öhhhh???

Why would you incourage unsafe password creation ?

Anyhow a Joomla question, please visit Joomla forum

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Adam Bazaroff

I need now. I know it unsafe. And I think it's not about Joomla :(
/Adam'B ... Poor english mode [ON] ;D

Jörgen

Well then. please ask on

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Adam Bazaroff

I think some kind of plugins can make it? Maybe somebody made it. Need to simplify autogenerated password.
/Adam'B ... Poor english mode [ON] ;D