From cbd244624398fa2b72f2769349367dfc3f0c4dee Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 18 Nov 2018 12:41:28 +0100 Subject: [PATCH] Import OTPSeed from the right place --- ungleichotp/ungleichotp/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ungleichotp/ungleichotp/settings.py b/ungleichotp/ungleichotp/settings.py index 8197a63..3044056 100644 --- a/ungleichotp/ungleichotp/settings.py +++ b/ungleichotp/ungleichotp/settings.py @@ -104,7 +104,7 @@ AUTH_PASSWORD_VALIDATORS = [ from rest_framework import exceptions from rest_framework import authentication -from otpauth import OTPSeed +from otpauth.models import OTPSeed from otpauth.serializer import TokenSerializer class OTPAuthentication(authentication.BaseAuthentication):