Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
073fba5c
Commit
073fba5c
authored
May 25, 2020
by
Vladislav Rykov
Browse files
secure app checkbox fixed
parent
05333766
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/app/__pycache__/views.cpython-37.pyc
View file @
073fba5c
No preview for this file type
app/app/templates/
.logged_layout
.html.swp
→
app/app/templates/
new/public/.new-application
.html.swp
View file @
073fba5c
No preview for this file type
app/app/views.py
View file @
073fba5c
...
...
@@ -171,7 +171,7 @@ def new_application():
secure_key
=
misc
.
gen_skey_b64
(
16
)
secure
=
False
if
request
.
form
.
getlist
(
'secure'
)
and
request
.
form
.
getlist
(
'secure'
)[
0
]
==
'
true
'
:
if
request
.
form
.
getlist
(
'secure'
)
and
request
.
form
.
getlist
(
'secure'
)[
0
]
==
'
on
'
:
secure
=
True
res
=
ad
.
create
(
request
.
form
[
'appname'
],
appkey
,
session
[
'name'
],
request
.
form
[
'appdesc'
],
secure
,
secure_key
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment