Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
0e00451e
Unverified
Commit
0e00451e
authored
Feb 22, 2019
by
老广
Committed by
GitHub
Feb 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2425 from jumpserver/dev
[Update] 修改ldap test密码为空
parents
232674b1
866e5d20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
serializers.py
apps/common/serializers.py
+2
-2
celery.py
apps/ops/views/celery.py
+1
-2
No files found.
apps/common/serializers.py
View file @
0e00451e
...
...
@@ -12,8 +12,8 @@ class MailTestSerializer(serializers.Serializer):
class
LDAPTestSerializer
(
serializers
.
Serializer
):
AUTH_LDAP_SERVER_URI
=
serializers
.
CharField
(
max_length
=
1024
)
AUTH_LDAP_BIND_DN
=
serializers
.
CharField
(
max_length
=
1024
)
AUTH_LDAP_BIND_PASSWORD
=
serializers
.
CharField
()
AUTH_LDAP_BIND_DN
=
serializers
.
CharField
(
max_length
=
1024
,
required
=
False
,
allow_blank
=
True
)
AUTH_LDAP_BIND_PASSWORD
=
serializers
.
CharField
(
required
=
False
,
allow_blank
=
True
)
AUTH_LDAP_SEARCH_OU
=
serializers
.
CharField
()
AUTH_LDAP_SEARCH_FILTER
=
serializers
.
CharField
()
AUTH_LDAP_USER_ATTR_MAP
=
serializers
.
CharField
()
...
...
apps/ops/views/celery.py
View file @
0e00451e
# -*- coding: utf-8 -*-
#
from
django.views.generic
import
DetailView
,
TemplateView
from
django.views.generic
import
TemplateView
from
common.permissions
import
AdminUserRequiredMixin
from
..models
import
CeleryTask
__all__
=
[
'CeleryTaskLogView'
]
...
...
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