mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
After auto-login don't tell the user that they need to log in
just go to home
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
{% extends "barest_base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}Email verification successful · {{ site_title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="bg-cyan-100 h-screen overflow-y-scroll flex items-center justify-center"> {# the cyan background #}
|
||||
<div class="bg-white lg:w-5/12 md:6/12 w-10/12"> {# the centered box #}
|
||||
<div class="bg-slate-200 absolute left-1/2 transform -translate-x-1/2 -translate-y-1/2 rounded-full p-4 md:p-8"> {# the logo #}
|
||||
<a href="/"><img src="{% static 'images/bugsink-logo.png' %}" class="h-8 w-8 md:h-16 md:w-16" alt="Bugsink"></a>
|
||||
</div>
|
||||
|
||||
<div class="p-12 md:pt-24 md:pl-24 md:pr-24 md:pb-16">
|
||||
Email verification successful. You can now <a href="{% url 'login' %}"class="text-cyan-500">log in</a> to your account.
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -62,7 +62,7 @@ def confirm_email(request, token=None):
|
||||
# to email is assumed to be sufficient proof of identity.
|
||||
login(request, verification.user)
|
||||
|
||||
return render(request, "users/email_confirmed.html")
|
||||
return redirect('home')
|
||||
|
||||
|
||||
def resend_confirmation(request):
|
||||
|
||||
Reference in New Issue
Block a user