Move the auth context methods into their own file so that we don't have auth trying to import itself
This commit is contained in:
parent
a120f6c64a
commit
61ca29de04
5 changed files with 12 additions and 14 deletions
|
@ -9,8 +9,8 @@ from collections import OrderedDict
|
|||
from data import model, userevent
|
||||
from data.queue import webhook_queue
|
||||
from app import mixpanel, app
|
||||
from auth.auth import (process_auth, get_authenticated_user,
|
||||
get_validated_token)
|
||||
from auth.auth import process_auth
|
||||
from auth.auth_context import get_authenticated_user, get_validated_token
|
||||
from util.names import parse_repository_name
|
||||
from util.email import send_confirmation_email
|
||||
from auth.permissions import (ModifyRepositoryPermission, UserPermission,
|
||||
|
|
Reference in a new issue