Added signup html page
This commit is contained in:
4
main.py
4
main.py
@@ -151,7 +151,9 @@ def createChat():
|
||||
# Returns html signup page
|
||||
@app.route('/signup', methods = ['GET'])
|
||||
def signup():
|
||||
pass
|
||||
token = request.cookies.get('auth_token', 'none')
|
||||
if (token == 'none'):
|
||||
return render_template('signup.html', appName=appName, githubUrl=github_auth_endpoint)
|
||||
|
||||
# Index page
|
||||
# If logged in return home menu (Or logout if token is expired),
|
||||
|
||||
Reference in New Issue
Block a user