Commit 7180a072 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[ui][registration][views] Disable access for logged in users

parent 31165feb
......@@ -35,12 +35,14 @@ from django.shortcuts import render
from django.urls import reverse
from django.views.decorators.csrf import csrf_protect
from ...utils.decorators import login_forbidden
from .forms import RegistrationFormTermsOfService
from .forms import RegistrationFormTermsOfServiceSupervisor
from .forms import RegistrationSupervisorForm
from .models import RegistrationProfile
def activate(
......@@ -102,6 +104,7 @@ def activate(
return render(request, template_name, context)
def register(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment