fix: The confirm message about the mail sent wasn't displayed in prod

pull/14/head
Raphaël Vinot 2019-04-25 15:01:42 +02:00
parent bd00995fa9
commit d902c62e1c
1 changed files with 2 additions and 1 deletions

View File

@ -362,4 +362,5 @@ def send_mail():
if not urlabuse_query.get_mail_sent(url):
ip = _get_user_ip(request)
send(url, ip)
return redirect(url_for('index'))
form = URLForm()
return render_template('index.html', form=form)