Author Topic: Password lenght & salt iin silent registration  (Read 357 times)

Adam Bazaroff

  • Jr. Member
  • **
  • Posts: 90
Password lenght & salt iin silent registration
« on: March 20, 2019, 10:35:43 am »
Make changes to JUserHelper/genRandomPassword in Joomla
Code: [Select]
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Password lenght & salt iin silent registration
« Reply #1 on: March 20, 2019, 10:48:02 am »
Öhhhh???

Why would you incourage unsafe password creation ?

Anyhow a Joomla question, please visit Joomla forum

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Adam Bazaroff

  • Jr. Member
  • **
  • Posts: 90
Re: Password lenght & salt iin silent registration
« Reply #2 on: March 20, 2019, 11:53:17 am »
I need now. I know it unsafe. And I think it's not about Joomla :(
/Adam'B ... Poor english mode [ON] ;D

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2473
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Password lenght & salt iin silent registration
« Reply #3 on: March 20, 2019, 12:52:38 pm »
Well then. please ask on

Jörgen @ Kreativ Fotografi
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Adam Bazaroff

  • Jr. Member
  • **
  • Posts: 90
Re: Password lenght & salt iin silent registration
« Reply #4 on: March 20, 2019, 13:50:45 pm »
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