Change maind.index to main.index

This commit is contained in:
Stephan Porada 2019-07-09 10:17:58 +02:00
parent 1ec93fa7d6
commit 586bf8af37

View File

@ -85,7 +85,7 @@ def resend_confirmation():
send_email(current_user.email, 'Confirm Your Account', 'auth/email/confirm', send_email(current_user.email, 'Confirm Your Account', 'auth/email/confirm',
user=current_user, token=token) user=current_user, token=token)
flash('A new confirmation email has benn sent to you by email.') flash('A new confirmation email has benn sent to you by email.')
return redirect(url_for('maind.index')) return redirect(url_for('main.index'))
@auth.route('/reset', methods=['GET', 'POST']) @auth.route('/reset', methods=['GET', 'POST'])