User tests: Successful: Unsuccessful:
Generate a correct link to the restricted page, even you have no access yet.
This PR prevents duplicate links when you are logged in or not.
Create a two menu items. One for Login Form
and the other for User Profile
.
Enable Modern Routing for com_users
Go to login form /login
and log in.
After logged in you should be redirected to /profile
Change access level from Public to Registered for User Profile menu item (/profile
)
Note: to clear old return URL (if you tested patched version first, after logged in, you should go to the other page (ex. home page) and logout. Next, back to the login page again). If this does not help then clear cookies.
After logout and log in again you are redirected to /login?view=profile
. If not then see at the note above.
After logout and log in again you should be redirected to /profile
.
No
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-02 08:24:55 |
Closed_By | ⇒ | csthomas | |
Labels |
Added:
?
|
This PR has not passed unit tests.
The solution could be:
but it does not look good.