Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Project Allocator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edtech
Project Allocator
Commits
65731f84
Commit
65731f84
authored
2 years ago
by
Ivan Procaccini
Browse files
Options
Downloads
Patches
Plain Diff
Feat: Remove doc filtering on authentication
parent
e41b654b
No related branches found
No related tags found
No related merge requests found
Pipeline
#310739
passed
2 years ago
Stage: lint
Stage: test
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/ldap_authentication/authenticator.py
+1
-5
1 addition, 5 deletions
app/ldap_authentication/authenticator.py
with
1 addition
and
5 deletions
app/ldap_authentication/authenticator.py
+
1
−
5
View file @
65731f84
...
...
@@ -100,11 +100,7 @@ class DocLdapAuthenticator(Authenticator):
MEMBERSHIPS
,
),
)
return
(
ldap_attributes
if
validate_affiliation_to_doc
(
ldap_attributes
)
else
None
)
return
ldap_attributes
except
ldap
.
INVALID_CREDENTIALS
:
return
None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment