From 29caa480fc98283ae571f8f8d185edb10a21ddcc Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 25 Jul 2024 14:24:00 +0200 Subject: [PATCH] Update app.py --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 6e3256c..2d72d86 100644 --- a/app.py +++ b/app.py @@ -1,10 +1,10 @@ from flask import Flask, render_template, request, redirect, url_for, jsonify, flash from flask_login import LoginManager, UserMixin, login_user, login_required, logout_user, current_user import json -from main import my_function, load_config +from main import main, load_config app = Flask(__name__) -app.secret_key = 'your_secret_key' +app.secret_key = 'your_secret_alex-design_key-2024' login_manager = LoginManager() login_manager.init_app(app)