You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
After some investigation, I've found that, if tmpl=component is present in the return URL of the login form (administrator client) then Joomla! redirects to the root, i.e. index.php.
For example, I am developing an application that is based on a single view (SPA). For my full application, I need to stay on tmpl=component. But if the user logged out (while working) and logged in again, then the login module redirects the user to the index.php page. And this is only happening because of the tmpl=component present in the $return URL.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
After some investigation, I've found that, if
tmpl=component
is present in the return URL of the login form (administrator client) then Joomla! redirects to the root, i.e.index.php
.For example, I am developing an application that is based on a single view (SPA). For my full application, I need to stay on
tmpl=component
. But if the user logged out (while working) and logged in again, then the login module redirects the user to theindex.php
page. And this is only happening because of thetmpl=component
present in the$return
URL.But why did you need to do this?
Reference:
joomla-cms/administrator/components/com_login/src/Controller/DisplayController.php
Line 84 in fe8413e
Beta Was this translation helpful? Give feedback.
All reactions