You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
638 B

from flask import render_template, Blueprint, request
from flask_login import login_user, current_user, logout_user, login_required
from flask_wtf import FlaskForm
from wtforms import StringField
import minibase.theme as theme
from minibase.blueprints.user.models import Users, User_Roles
import minibase.blueprints.database.utils as dbUtils
main = Blueprint('main', __name__, template_folder='templates')
class LoginForm(FlaskForm):
username = StringField('username')
password = StringField('password')
@main.route('/', methods=['GET', 'POST'])
def index():
return render_template('/main/index.html', info="", theme=theme)