major styling pass, artist list, and import processing improvements
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ def login():
|
||||
user = User.query.filter_by(email=form.email.data).first()
|
||||
if user and check_password_hash(user.password_hash, form.password.data):
|
||||
login_user(user)
|
||||
return redirect(url_for('main.index'))
|
||||
return redirect(url_for('main.gallery'))
|
||||
else:
|
||||
flash('Login failed. Check username/password.', 'danger')
|
||||
return render_template('login.html', form=form)
|
||||
|
||||
Reference in New Issue
Block a user