Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
Xavier Bachelot
lemonldap-ng
Commits
f6f1072e
Commit
f6f1072e
authored
Nov 29, 2018
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix double init (
#1550
)
parent
6002b3ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Custom.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Custom.pm
+4
-4
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OverConf.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OverConf.pm
+1
-1
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Custom.pm
View file @
f6f1072e
...
...
@@ -9,10 +9,10 @@ sub new {
die
'
Custom Auth module not defined
';
}
eval
$self
->
{
p
}
->
loadModule
(
$self
->
{
conf
}
->
{
customAuth
}
)
;
(
$@
)
?
return
$self
->
{
p
}
->
loadModule
(
$self
->
{
conf
}
->
{
customAuth
}
)
:
die
'
Unable to load Auth module
'
.
$self
->
{
conf
}
->
{
customAuth
}
;
my
$res
;
eval
{
$res
=
$self
->
{
p
}
->
loadModule
(
$self
->
{
conf
}
->
{
customAuth
}
)
};
die
'
Unable to load Auth module
'
.
$self
->
{
conf
}
->
{
customAuth
}
if
(
$@
);
return
$res
;
}
sub
getDisplayType
{
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OverConf.pm
View file @
f6f1072e
...
...
@@ -27,7 +27,7 @@ sub loadModule {
$nc
=
$self
->
conf
;
}
return
0
unless
(
$obj
=
$self
->
p
->
loadModule
(
"
$plugin
",
$nc
)
and
$obj
->
init
);
unless
(
$obj
=
$self
->
p
->
loadModule
(
"
$plugin
",
$nc
)
);
return
$obj
;
}
...
...
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