From 1c6c52f3de0d84a35c15814c2716201bfafdae2a Mon Sep 17 00:00:00 2001 From: Bean <72772737+Bean0-0@users.noreply.github.com> Date: Tue, 2 Apr 2024 01:53:09 +0000 Subject: [PATCH] Fixed app --- app.py | 5 +---- templates/login.html | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app.py b/app.py index 2ff82be..0a9ede3 100644 --- a/app.py +++ b/app.py @@ -1,12 +1,9 @@ import firebase_admin -from flask import Flask, request, jsonify, render_template +from flask import Flask, render_template, request, url_for, redirect from firebase_admin import db, credentials -from auth.login import auth as auth_blueprint app = Flask(__name__) -app.register_blueprint(auth_blueprint, url_prefix='/auth') - cred = credentials.Certificate("key.json") firebase_admin.initialize_app(cred, {"databaseURL":"https://fbla-decfd-default-rtdb.firebaseio.com/"}) diff --git a/templates/login.html b/templates/login.html index 07d541f..56d9c69 100644 --- a/templates/login.html +++ b/templates/login.html @@ -1,7 +1,7 @@