Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 44fc7cff
authored
Aug 23, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add user_id to redirect_login response for enhanced user context
1 parent
f11fea01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
opensipkd/base/views/user_login.py
opensipkd/base/views/user_login.py
View file @
44fc7cf
...
@@ -370,6 +370,7 @@ def redirect_login(request, user):
...
@@ -370,6 +370,7 @@ def redirect_login(request, user):
data
=
{
data
=
{
"data"
:
[
"data"
:
[
{
{
"user_id"
:
user
.
user_name
,
"permission"
:
user
.
get_permissions
(),
"permission"
:
user
.
get_permissions
(),
"token"
:
user
.
security_code
,
"token"
:
user
.
security_code
,
"mobile"
:
mobile
,
"mobile"
:
mobile
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment