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
The Tor Project
TPA
Anonymous Ticket Portal
Commits
c60cb76d
Commit
c60cb76d
authored
Feb 11, 2021
by
ViolanteCodes
Browse files
added cast=bool to BLOCK_ALL call from .env
parent
cb11864d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ticketlobby/settings.py
View file @
c60cb76d
...
...
@@ -143,7 +143,7 @@ GITLAB_ACCOUNTS_SECRET_TOKEN = config('GITLAB_ACCOUNTS_SECRET_TOKEN', default=''
# Configuration settings for Django Ratelimit
MAIN_RATE_GROUP
=
config
(
'MAIN_RATE_GROUP'
,
default
=
''
)
LIMIT_RATE
=
config
(
'LIMIT_RATE'
,
default
=
'100/m'
)
BLOCK_ALL
=
config
(
'BLOCK_ALL'
,
default
=
False
)
BLOCK_ALL
=
config
(
'BLOCK_ALL'
,
default
=
False
,
cast
=
bool
)
# Wordlist Settings for generating wordlist
WORD_LIST_PATH
=
os
.
path
.
join
(
BASE_DIR
,
'shared/wordlist.txt'
)
...
...
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