Notify the user when their account needs verification.
This commit is contained in:
parent
cbe0590ce5
commit
a713555915
2 changed files with 22 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Quay Sign In</title>
|
||||
<title>Sign In - Quay</title>
|
||||
|
||||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.no-icons.min.css">
|
||||
|
||||
|
@ -15,8 +15,12 @@
|
|||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign In</button>
|
||||
</form>
|
||||
|
||||
{% if error %}
|
||||
<div class="alert alert-danger">{{ error }}</div>
|
||||
{% if invalid_credentials %}
|
||||
<div class="alert alert-danger">Invalid username or password.</div>
|
||||
{% endif %}
|
||||
|
||||
{% if needs_email_verification %}
|
||||
<div class="alert alert-danger">You must verify your email address before you can sign in.</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
|
|
Reference in a new issue