Import OTPSeed from the right place
This commit is contained in:
parent
aea92f9d85
commit
cbd2446243
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||||
|
|
||||||
from rest_framework import exceptions
|
from rest_framework import exceptions
|
||||||
from rest_framework import authentication
|
from rest_framework import authentication
|
||||||
from otpauth import OTPSeed
|
from otpauth.models import OTPSeed
|
||||||
from otpauth.serializer import TokenSerializer
|
from otpauth.serializer import TokenSerializer
|
||||||
|
|
||||||
class OTPAuthentication(authentication.BaseAuthentication):
|
class OTPAuthentication(authentication.BaseAuthentication):
|
||||||
|
|
Loading…
Reference in a new issue