Commit 23301d12 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

deleted build_code_phrase method for form

parent 54c43158
......@@ -21,12 +21,6 @@ class LoginForm(forms.Form):
word_6 = forms.CharField(max_length=9, required=False)
login_string = forms.CharField(max_length=255, required=False)
def build_code_phrase(self, cleaned_word_data=[]):
"""Join form cleaned data into code_phrase"""
join_key = '-'
code_phrase = join_key.join(cleaned_word_data)
return code_phrase
def sanitize_login_string(self, login_string):
"""Santizes the login string"""
#convert to lowercase and strip whitespace
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment