Skip to content
Snippets Groups Projects
Commit 379ec278 authored by Dan Braghis's avatar Dan Braghis Committed by Todd Dembrey
Browse files

Lint

parent b0abb3dc
No related branches found
No related tags found
No related merge requests found
......@@ -164,4 +164,5 @@ class FullNameBlock(MustIncludeFieldBlock):
class Meta:
icon = 'mail'
REQUIRED_BLOCK_NAMES = [block.name for block in MustIncludeFieldBlock.__subclasses__()]
......@@ -3,7 +3,6 @@ from django.contrib.auth import get_user_model, login, update_session_auth_hash
from django.contrib.auth.decorators import login_required
from django.contrib.auth.forms import AdminPasswordChangeForm
from django.contrib.auth.tokens import PasswordResetTokenGenerator
from django.core.exceptions import PermissionDenied
from django.shortcuts import redirect, render
from django.template.response import TemplateResponse
from django.urls import reverse_lazy
......@@ -47,7 +46,6 @@ class ActivationView(TemplateView):
return render(request, 'users/activation/invalid.html')
def valid(self, user, token):
"""
Verify that the activation token is valid and within the
......@@ -57,7 +55,6 @@ class ActivationView(TemplateView):
token_generator = PasswordResetTokenGenerator()
return user is not None and token_generator.check_token(user, token)
def get_user(self, uidb64):
"""
Given the verified uid, look up and return the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment