|
|
@ -9,6 +9,11 @@ import os |
|
|
|
import bcrypt |
|
|
|
from app import create_app, login_manager |
|
|
|
from application.csvparser import CsvParser |
|
|
|
from application.user.loginuser import LoginUser |
|
|
|
from application.user.registeruser import RegisterUser |
|
|
|
from application.user.forgotpassword import ForgotPassword |
|
|
|
from application.user.resetpassword import ResetPassword |
|
|
|
|
|
|
|
from flask import Blueprint, redirect, render_template, request, session |
|
|
|
from flask_wtf.csrf import CSRFProtect, CSRFError |
|
|
|
from flask_login import ( |
|
|
@ -24,6 +29,8 @@ from requests import get |
|
|
|
from search import search |
|
|
|
from werkzeug.utils import secure_filename |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
APP = create_app() |
|
|
|
csrf = CSRFProtect() |
|
|
|
csrf.init_app(APP) |
|
|
|