Project

General

Profile

Actions

Bug #16530

closed

[Foreman] Redirect to dashboard on visiting "users/login" for an active session.

Added by Swapnil Abnave over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

If there's a valid session already present(i.e. user has already logged-in).
Then visiting the login page again(without singing-out) should redirect the user to dashboard page.

Steps to Reproduce:
1. Login with any user
2. Change the url from whatever to /users/login
Example: if url is https://localhost:3000/hosts
then change it to
https://localhost:3000/users/login
3. Hit enter

Actual results:
User should see dashboard or home page.

Expected results:
Login page is visible. Which should not be the case.

Actions

Also available in: Atom PDF