From 202836d617dd87f8b03db894233b8917242c443a Mon Sep 17 00:00:00 2001 From: nyx Date: Mon, 10 Mar 2025 00:48:30 -0500 Subject: [PATCH] Registration fixes --- app/app.py | 3 +++ app/templates/register.j2 | 29 +++++++++++++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/app/app.py b/app/app.py index b322922..cf2ce7f 100644 --- a/app/app.py +++ b/app/app.py @@ -13,6 +13,9 @@ def home(): def login(): return render_template('login.j2', instanceName="nyxask.nixos.internal", instanceBranding="NyxAsk Testing Instance") +@app.route('/auth/register/') +def register(): + return render_template('register.j2', instanceName="nyxask.nixos.internal", instanceBranding="NyxAsk Testing Instance") @app.route('/assets/css/index.css') def index_css(): diff --git a/app/templates/register.j2 b/app/templates/register.j2 index 50a598b..9c4a259 100644 --- a/app/templates/register.j2 +++ b/app/templates/register.j2 @@ -9,19 +9,24 @@

Login to {{ instanceName }}'s Nyxask!

- - +
- - +
+