Import OTPSeed from the right place

This commit is contained in:
Nico Schottelius 2018-11-18 12:41:28 +01:00
parent aea92f9d85
commit cbd2446243
1 changed files with 1 additions and 1 deletions

View File

@ -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):