fix bug when Empty username is given to LoginAttempt.attempt

This commit is contained in:
Jens Langhammer
2019-02-25 14:10:29 +01:00
parent 33431ae013
commit 5f3ab49535
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{% if messages %}
{% for msg in messages %}
<div class="alert alert-{{ msg.level_tag }}">
<div class="{% if toast %}toast-pf{% endif %} alert alert-{{ msg.level_tag }}">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span class="pficon pficon-close"></span>
</button>