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 e672834d
authored
Apr 10, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update headers
1 parent
f4d95e9e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
opensipkd/base/views/user_login.py
opensipkd/base/views/user_login.py
View file @
e672834
...
@@ -393,7 +393,7 @@ class ViewAuth(BaseView):
...
@@ -393,7 +393,7 @@ class ViewAuth(BaseView):
# url=get_urls(request.route_url('login')),
# url=get_urls(request.route_url('login')),
# next_url=next_url,
# next_url=next_url,
# login=login, )
# login=login, )
log
.
debug
(
"Login form rendered xhr:
%
s"
,
self
.
req
.
is_xhr
)
if
self
.
req
.
is_xhr
:
if
self
.
req
.
is_xhr
:
form
.
set_appstruct
({})
form
.
set_appstruct
({})
struct
=
form
.
cstruct
struct
=
form
.
cstruct
...
@@ -404,7 +404,7 @@ class ViewAuth(BaseView):
...
@@ -404,7 +404,7 @@ class ViewAuth(BaseView):
struct
[
"csrf_token"
]
=
csrf_token
struct
[
"csrf_token"
]
=
csrf_token
log
.
debug
(
"CSRF Token:
%
s"
,
csrf_token
)
log
.
debug
(
"CSRF Token:
%
s"
,
csrf_token
)
log
.
info
(
"Form Struct:
%
s"
,
struct
)
log
.
debug
(
"Form Struct:
%
s"
,
struct
)
return
self
.
resp_xhr
({
"data"
:
struct
})
return
self
.
resp_xhr
({
"data"
:
struct
})
# d = self.form2dict(form)
# d = self.form2dict(form)
...
...
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