Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
080f4670
Commit
080f4670
authored
Sep 22, 2017
by
Yadd
Browse files
Return 200 for Ajax queries if error is PE_PASSWORD_OK (
#1258
)
parent
306af4fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
View file @
080f4670
...
...
@@ -187,7 +187,7 @@ sub do {
[
qq'{"result":0,"error":$err}'
]
];
}
elsif
(
$err
>
0
)
{
elsif
(
$err
>
0
and
$err
!=
PE_PASSWORD_OK
)
{
return
$self
->
sendJSONresponse
(
$req
,
{
result
=>
0
,
error
=>
$err
},
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment