Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
burp-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
21
Issues
21
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Benjamin "Ziirish" SANS
burp-ui
Commits
d453bd9b
Commit
d453bd9b
authored
Feb 08, 2019
by
Benjamin "Ziirish" SANS
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-ldap' into 'master'
Fix ldap See merge request
ziirish/burp-ui!102
parents
b854b76c
de53553a
Pipeline
#1560
passed with stage
in 1 minute and 54 seconds
Changes
2
Pipelines
8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
burpui/misc/auth/handler.py
burpui/misc/auth/handler.py
+5
-0
burpui/misc/auth/ldap.py
burpui/misc/auth/ldap.py
+1
-1
No files found.
burpui/misc/auth/handler.py
View file @
d453bd9b
...
@@ -307,6 +307,11 @@ class UserHandler(BUIuser):
...
@@ -307,6 +307,11 @@ class UserHandler(BUIuser):
self
.
back
=
None
self
.
back
=
None
return
self
.
login
(
passwd
)
return
self
.
login
(
passwd
)
self
.
authenticated
=
self
.
real
.
login
(
passwd
)
self
.
authenticated
=
self
.
real
.
login
(
passwd
)
# allow to try another backend
if
not
self
.
authenticated
:
self
.
real
=
None
self
.
back
=
None
return
self
.
login
(
passwd
)
session
[
'authenticated'
]
=
self
.
authenticated
session
[
'authenticated'
]
=
self
.
authenticated
session
[
'language'
]
=
self
.
language
session
[
'language'
]
=
self
.
language
session
[
'login'
]
=
self
.
name
session
[
'login'
]
=
self
.
name
...
...
burpui/misc/auth/ldap.py
View file @
d453bd9b
...
@@ -29,7 +29,7 @@ class LdapLoader(BUIloader):
...
@@ -29,7 +29,7 @@ class LdapLoader(BUIloader):
conf
=
self
.
app
.
conf
conf
=
self
.
app
.
conf
handler
.
name
=
self
.
name
handler
.
name
=
self
.
name
defaults
=
{
defaults
=
{
'LDAP'
:
{
'LDAP
:AUTH
'
:
{
'host'
:
'localhost'
,
'host'
:
'localhost'
,
'port'
:
None
,
'port'
:
None
,
'encryption'
:
None
,
'encryption'
:
None
,
...
...
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