This commit is contained in:
mahdavi 2020-03-28 00:48:52 +04:30
parent f7da29a900
commit 6e6f83fad0
4 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ from rest_framework.exceptions import APIException
import uuid
from apps.users.constans import MAX_OTP_TRY, DEVELOPMENT_PHONE_NUMBERS
from utils.notifications_client import notification_client
from utils.notification_client import notification_client
class UserManager(BaseUserManager):

View file

@ -61,7 +61,7 @@ OAUTH2_PROVIDER = {
'write': 'Write scope',
'groups': 'Access to your groups',
'introspection': 'Introspect token scope'},
'OAUTH2_VALIDATOR_CLASS': 'utils.MultiGatewayOAuth2Validator'
'OAUTH2_VALIDATOR_CLASS': 'utils.oauth2_provider.MultiGatewayOAuth2Validator'
}
REST_FRAMEWORK = {