Advertisement

"Require Password Reset" - What controls redirection on login? Topic is solved

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
ralphlorem
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Mar 05, 2024 7:04 pm

"Require Password Reset" - What controls redirection on login?

Post by ralphlorem » Thu Apr 18, 2024 7:15 pm

Hi friends,

I was wondering if someone would be able to shed some light on what exactly controls the redirection that occurs when a user who is required to reset their password logs into a Joomla site.

Currently, if a user is required to reset their password, they are sent to index.php?option=com_users&view=profile&layout=edit.

I was looking into the com_users files but have not found anything that convinced me it managed this redirect.

Any ideas? Thank you :)

Advertisement
User avatar
Kubik-Rubik
Joomla! Explorer
Joomla! Explorer
Posts: 275
Joined: Wed Aug 25, 2010 1:59 pm
Location: Karlsruhe - Germany
Contact:

Re: "Require Password Reset" - What controls redirection on login?

Post by Kubik-Rubik » Thu Apr 18, 2024 9:49 pm

Hey ralphlorem,

The check for the reset status and the redirect to the profile page are done in \Joomla\CMS\Application\CMSApplication::checkUserRequireReset (libraries/src/Application/CMSApplication.php).
Cheers
Viktor

Kubik-Rubik Joomla! Extensions https://kubik-rubik.de
Former member of Joomla! Production Leadership Team, Security Strike Team and Bug Squash Team

ralphlorem
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Tue Mar 05, 2024 7:04 pm

Re: "Require Password Reset" - What controls redirection on login?

Post by ralphlorem » Fri May 10, 2024 2:55 pm

Thank you Kubik-Rubik! I appreciate the answer!

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 3.x”