mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-07 01:16:58 -06:00
continued hidden refactor
This commit is contained in:
@@ -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'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user