Add a super basic TOS and privacy policy
This commit is contained in:
parent
d15e1bb651
commit
f5798b4364
5 changed files with 86 additions and 2 deletions
|
@ -38,6 +38,16 @@ def index():
|
|||
return send_file('templates/index.html')
|
||||
|
||||
|
||||
@app.route('/tos', methods=['GET'])
|
||||
def tos():
|
||||
return send_file('templates/tos.html')
|
||||
|
||||
|
||||
@app.route('/privacy', methods=['GET'])
|
||||
def privacy():
|
||||
return send_file('templates/privacy.html')
|
||||
|
||||
|
||||
def common_login(db_user):
|
||||
if login_user(_LoginWrappedDBUser(db_user)):
|
||||
logger.debug('Successfully signed in as: %s' % db_user.username)
|
||||
|
|
Reference in a new issue