mirror of
https://github.com/codl/forget
synced 2025-01-09 14:12:32 +01:00
oops
This commit is contained in:
parent
7d4e9945a5
commit
625dc31a53
@ -31,7 +31,8 @@ def touch_viewer(resp):
|
||||
@app.route('/')
|
||||
def index():
|
||||
if g.viewer:
|
||||
return render_template('logged_in.html', scales=lib.interval_scales)
|
||||
return render_template('logged_in.html', scales=lib.interval_scales,
|
||||
error=request.args.get('error', None))
|
||||
else:
|
||||
return render_template('index.html')
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{% if error %}
|
||||
<section class=banners>
|
||||
<div class="banner error">{{ error|safe }}</div>
|
||||
<div class="banner error">{{ error }}</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user