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
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
Maxime Besson
lemonldap-ng
Commits
4a18a3f5
Commit
4a18a3f5
authored
May 31, 2016
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set default values for request (#595)
parent
bdace915
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm
+7
-1
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
+1
-0
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm
View file @
4a18a3f5
...
...
@@ -19,7 +19,7 @@
package
Lemonldap::NG::Portal::Main::
Request
;
# Developpers, be careful: new() is never called so default values will not be
# taken in account (see Portal::Run::handler())
# taken in account (see Portal::Run::handler())
: set default values in init()
use
strict
;
use
Mouse
;
...
...
@@ -103,6 +103,12 @@ sub error_type {
#TODO
}
sub
init
{
my
(
$self
)
=
@_
;
$self
->
{
$_
}
=
{}
foreach
(
qw(datas customParameters)
);;
$self
->
{
$_
}
=
[]
foreach
(
qw(respCookies)
);;
}
sub
errorString
{
#TODO
...
...
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm
View file @
4a18a3f5
...
...
@@ -33,6 +33,7 @@ sub sessionDatas {
sub
handler
{
my
(
$self
,
$req
)
=
@_
;
bless
$req
,
'
Lemonldap::NG::Portal::Main::Request
';
$req
->
init
();
return
$self
->
Lemonldap::NG::Common::PSGI::Router::
handler
(
$req
);
}
...
...
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