-
-
branches/amp_3_7_0/src/webui/webui/htdocs/new/src/cm/models/system/user_mgmt/__init__.py (Diff revision 1) delete_session_by_username(..)
-
branches/amp_3_7_0/src/webui/webui/htdocs/new/src/hive/session.py (Diff revision 1) Hi Apoorva,
This looks fine to me. Just a alternative thought - can we add this implement method as find_session_by_username(username) and reuse the existing logout handler?
Bug 1028 -Deleted the device admin is not logged out in the browser
Review Request #414 — Created Aug. 16, 2024 and submitted
| Information | |
|---|---|
| apoorva.sn | |
| AMP | |
| amp_3_7_0 | |
| 1028 | |
| Reviewers | |
| pmurugaiyan, prajesh, shuinvy | |
Problem
When Super admin deletes a device admin who is already logged in then once the device admin config is deleted the device admin is not logged out in the browser
Solution
Made changes to remove the session of the deleted user from session pool
session.py contains formatting chages as well
Tested the changes locally
Changes are available in setup: 192.168.162.162
| Description | From | Last Updated |
|---|---|---|
|
delete_session_by_username(..) |
|
|
|
Hi Apoorva, This looks fine to me. Just a alternative thought - can we add this implement method as find_session_by_username(username) … |
|
