Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1746ed9a
authored
Mar 09, 2017
by
Czémán Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: Make switchable the optional ldap imports
parent
5ac2d65c
Pipeline
#442
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
circle/dashboard/ldap_utils.py
+4
-3
No files found.
circle/dashboard/ldap_utils.py
View file @
1746ed9a
...
...
@@ -18,9 +18,10 @@ import logging
from
django.conf
import
settings
from
django.contrib.auth.models
import
Group
from
.models
import
GroupProfile
,
FutureMember
,
Profile
import
ldap
from
django_auth_ldap.backend
import
LDAPSettings
from
django_auth_ldap.config
import
LDAPSearch
if
getattr
(
settings
,
'LDAP_ORG_ID_ATTRIBUTE'
,
False
):
import
ldap
from
django_auth_ldap.backend
import
LDAPSettings
from
django_auth_ldap.config
import
LDAPSearch
logger
=
logging
.
getLogger
(
__name__
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment