autologin without password

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
kmchen
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

autologin without password

Post by kmchen » Fri Dec 03, 2021 12:41 pm

The method Jfactory::getApplication()->login() do not accept empty passords

How to auto log a user without knowing its password, just with its username ?

kmchen
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

Re: autologin without password

Post by kmchen » Wed Dec 08, 2021 5:35 am

Nor that forum, nor the mailing list mentioned above seem alive. Is the Joomla community dead ?

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2897
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: autologin without password

Post by SharkyKZ » Wed Dec 08, 2021 6:03 am

Pretty much. Anyways, you need to write an authentication plugin. Logging in using just a username sounds highly insecure, though.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30891
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: autologin without password

Post by Per Yngve Berg » Wed Dec 08, 2021 8:41 am


kmchen
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 108
Joined: Sat Oct 21, 2006 12:57 am
Location: marseille (13) france
Contact:

Re: autologin without password

Post by kmchen » Thu Dec 09, 2021 8:23 am

SharkyKZ wrote:
Wed Dec 08, 2021 6:03 am
Pretty much. Anyways, you need to write an authentication plugin. Logging in using just a username sounds highly insecure, though.
Comprofiler offers a method auttenticate with possibility of password = false. Nothing equivalent in Joomla ?

Thanks for the link to the plugin. I'll test it. But when my website sends a mail to a user with a link containing a security code, I consider that the user should not have to login.


Locked

Return to “Joomla! 3.x Coding”