Added signup html page

This commit is contained in:
2025-08-22 12:19:36 +01:00
parent 0e65fca2a8
commit 56b74360f0
2 changed files with 216 additions and 1 deletions

View File

@@ -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),