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
dcoutadeur dcoutadeur
lemonldap-ng
Commits
ba7dab03
Commit
ba7dab03
authored
Nov 15, 2019
by
Maxime Besson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow setSecurity to be used in Combination (#2009)
parent
653533b2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
3 deletions
+8
-3
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Choice.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Choice.pm
+1
-0
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Combination.pm
...dap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Combination.pm
+2
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/_WebForm.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/_WebForm.pm
+2
-0
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/CertificateResetByMail.pm
...lib/Lemonldap/NG/Portal/Plugins/CertificateResetByMail.pm
+1
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm
...rtal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm
+1
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Register.pm
...dap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Register.pm
+1
-0
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Choice.pm
View file @
ba7dab03
...
...
@@ -68,6 +68,7 @@ sub setSecurity {
last
;
}
}
PE_OK
;
}
1
;
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/Combination.pm
View file @
ba7dab03
...
...
@@ -237,7 +237,8 @@ sub name {
sub
setSecurity
{
my
(
$self
,
$req
)
=
@_
;
return
$self
->
try
(
0
,
'
setSecurity
',
$req
);
$self
->
try
(
0
,
'
setSecurity
',
$req
);
PE_OK
;
}
package
Lemonldap::NG::Portal::Lib::Combination::
UserLogger
;
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/_WebForm.pm
View file @
ba7dab03
...
...
@@ -176,6 +176,8 @@ sub setSecurity {
elsif
(
$self
->
ottRule
->
(
$req
,
{}
)
)
{
$self
->
ott
->
setToken
(
$req
);
}
PE_OK
;
}
1
;
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/CertificateResetByMail.pm
View file @
ba7dab03
...
...
@@ -589,7 +589,7 @@ sub setSecurity {
elsif
(
$self
->
ottRule
->
(
$req
,
{}
)
)
{
$self
->
ott
->
setToken
(
$req
);
}
return
1
;
return
PE_OK
;
}
sub
display
{
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm
View file @
ba7dab03
...
...
@@ -520,7 +520,7 @@ sub setSecurity {
elsif
(
$self
->
ottRule
->
(
$req
,
{}
)
)
{
$self
->
ott
->
setToken
(
$req
);
}
return
1
;
return
PE_OK
;
}
sub
display
{
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Register.pm
View file @
ba7dab03
...
...
@@ -536,6 +536,7 @@ sub setSecurity {
elsif
(
$self
->
ottRule
->
(
$req
,
{}
)
)
{
$self
->
ott
->
setToken
(
$req
);
}
PE_OK
;
}
1
;
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