How can we write cutom form and code for joomla login?

723 Views Asked by At

iam a beginner in Joomla. i don't want to customize or use modules like BTlogin or default login module in Joomla. i want to create fresh login module with minimum code, i dont know how the passwords are encrypted so please some one help me..

3

There are 3 best solutions below

0
On BEST ANSWER

You don't have to create a new module. Simply add your own template overrides, or even easier modify the default login module's template file(s). Leave the PHP codes intact and let Joomla handle the password hashing, authentication, registration etc.

Assuming your template did not override the default login module, its template file is /modules/mod_login/tmpl/default.php. Be careful not to remove form elements and PHP variables when you modify the file.

0
On

Please read the php manual on this... It's a nice beginners guide:

Safe Password Hashing

0
On

I don't know which Joomla version you are using.

But from Joomla 3.3, bcrypt algorithm used to create password hash. Refer password_hash for details.