ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

read data about the user

hcohl 27 Apr, 2017
Hallo,
I have to know the registration data of the user who uses my form.

<?php
$user=JFactory::getUser();
?>

<?= $user->username; ?><br />
<?= $user->password_clear; ?>

But the password is encrypted. How can I get the password in clear text?
Thank you for your answer.
HC
Max_admin 27 Apr, 2017
Hi HC,

There is no way to do that if you did not store a copy of it when they registered, Joomla encrypts the passwords for security.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
hcohl 27 Apr, 2017
Thank you for your answer.
How can I store a copy of the password, which is not encrypted?
GreyHead 27 Apr, 2017
Hi hcohl,

You can't, for security Joomla! does not save the clear password, just a 'hash' that can be used to verify it.

Bob
hcohl 27 Apr, 2017
How could the hash look? I have no idea.
Max_admin 27 Apr, 2017
Hi hcohl,

The hash is inside the password field in the users table, it can't be decrypted.

Best regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com