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 bf0ef4cc
authored
Jan 15, 2026
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: Update password request URL to include security key
1 parent
054bffa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/views/user_login.py
opensipkd/base/views/user_login.py
View file @
bf0ef4c
...
@@ -687,7 +687,7 @@ def send_email_security_code(
...
@@ -687,7 +687,7 @@ def send_email_security_code(
if
'mail.sender_name'
not
in
settings
or
'mail.username'
not
in
settings
:
if
'mail.sender_name'
not
in
settings
or
'mail.username'
not
in
settings
:
return
return
url
=
'{}/password/{}/request'
.
format
(
url
=
'{}/password/{}/request
?key={}
'
.
format
(
request
.
home
,
user
.
security_code
,
password
)
request
.
home
,
user
.
security_code
,
password
)
minutes
=
int
(
time_remain
.
seconds
/
60
)
minutes
=
int
(
time_remain
.
seconds
/
60
)
...
...
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