Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maxime Besson
lemonldap-ng
Commits
bf8040a7
Commit
bf8040a7
authored
Mar 09, 2019
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix empty submitted value (#1664)
parent
049df70e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Impersonation.pm
...g-portal/lib/Lemonldap/NG/Portal/Plugins/Impersonation.pm
+2
-2
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Impersonation.pm
View file @
bf8040a7
...
...
@@ -56,10 +56,10 @@ sub init {
sub
run
{
my
(
$self
,
$req
)
=
@_
;
my
$spoofId
=
$req
->
param
('
spoofId
')
||
''
;
my
$spoofId
=
$req
->
param
('
spoofId
')
||
$req
->
{
user
}
;
return
PE_MALFORMEDUSER
if
(
$spoofId
and
$
req
->
param
('
spoofId
')
!~
/$self->{conf}->{userControl}/o
);
and
$spoofId
!~
/$self->{conf}->{userControl}/o
);
# Skip if no submitted SpoofId
return
PE_OK
unless
$spoofId
;
...
...
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