continued hidden refactor

This commit is contained in:
Xevion
2019-10-03 22:18:47 -05:00
parent 2c2439d140
commit 56ecaedd59
3 changed files with 17 additions and 7 deletions

View File

@@ -171,12 +171,6 @@ def logout():
logout_user()
return redirect(url_for('index'))
# The only implementation I could get to work
def validate_id(id):
id = str(id).strip()
val = str(app.config['HIDDEN_NUMBER']).strip()
return id == val
def get_hidden():
return "/hidden{}/".format(app.config['HIDDEN_NUMBER'])