Prevent access to cas.login route, if user is already logged in.

Created on 13 May 2024, 4 months ago
Updated 25 July 2024, about 1 month ago

Problem/Motivation

Currently, the CAS module does not have a route requirement _user_is_logged_in: 'FALSE'. So if there is log in menu link that uses cas.login route, the link still be visible even if user is logged in. This causes confusion.

Proposed resolution

To address this issue, a condition "_user_is_logged_in" should be added to the cas.login router. This should effectively prevent access to the route for users that are already logged in.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

2.2

Component

CAS

Created by

πŸ‡ΊπŸ‡ΈUnited States Jaspreet Longia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024