fix defaults for running locally and make email server not required.

This commit is contained in:
2021-07-07 13:47:21 -05:00
parent 3cb6992359
commit bdabd61057
5 changed files with 45 additions and 26 deletions

View File

@ -3,7 +3,11 @@
{% block title %}check your email{% endblock %}
{% block content %}
<div class="row full-margin">Check your email. A login link has been sent to {{ email }}</div>
{% if has_smtp %}
<div class="row full-margin">Check your email. A login link has been sent to {{ email }}</div>
{% else %}
<div class="row full-margin">No SMTP server configured. A login link has been printed to stdout.</div>
{% endif %}
{% endblock %}
{% block pagesource %}/templates/login-landing.html{% endblock %}