updated dockerfile, spacing adjustments
This commit is contained in:
parent
b757ceff57
commit
6c7095ec5a
14 changed files with 36 additions and 16 deletions
|
@ -15,5 +15,3 @@ class RegistrationForm(Form):
|
|||
class LoginForm(Form):
|
||||
email = StringField('Email', [validators.DataRequired()])
|
||||
password = PasswordField('Password', [validators.DataRequired()])
|
||||
|
||||
|
||||
|
|
|
@ -109,4 +109,4 @@ class User(Model, UserMixin):
|
|||
def logout(cls):
|
||||
logout_user()
|
||||
|
||||
login_manager.anonymous_user = AnonUser
|
||||
login_manager.anonymous_user = AnonUser
|
||||
|
|
|
@ -69,4 +69,4 @@ def settings():
|
|||
@blueprint.route("/logout")
|
||||
def logout():
|
||||
User.logout()
|
||||
return redirect("/")
|
||||
return redirect("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue