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
b0473f17
Commit
b0473f17
authored
Feb 16, 2021
by
ViolanteCodes
Browse files
added quick string method to form
parent
8b4b7445
Changes
1
Hide whitespace changes
Inline
Side-by-side
anonticket/forms.py
View file @
b0473f17
...
...
@@ -70,7 +70,8 @@ class LoginForm(forms.Form):
"""It looks like you've filled out both the login words and the login string/phrase fields.
Please choose one or the other."""
)
if
all_words_filled
==
False
:
pass
user_identifier
=
login_string
self
.
user_identifier
=
user_identifier
if
string_filled
==
False
:
if
all_words_filled
==
False
:
...
...
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