简体   繁体   中英

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

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..

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.

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

Safe Password Hashing

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM