From d58795456ca22c7a1e0384019ff6739c2be72ebb Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Wed, 30 Mar 2016 19:51:15 +0000 Subject: [PATCH] New portal in progress... (#595) --- .../lib/Lemonldap/NG/Portal/Main/Request.pm | 8 ++++++++ lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm new file mode 100644 index 000000000..f0928e896 --- /dev/null +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Request.pm @@ -0,0 +1,8 @@ +package Lemonldap::NG::Portal::Main::Request; + +use strict; +use Mouse; + +extends 'Lemonldap::NG::Common::PSGI::Request'; + +1; diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm index 6ff91a289..3d6592ff7 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm @@ -10,6 +10,7 @@ package Lemonldap::NG::Portal::Main::Run; use strict; use Mouse; +use Lemonldap::NG::Portal::Main::Request; our $VERSION = '2.0.0'; @@ -18,7 +19,7 @@ sub handler { unless ( $self->conf->{cfgNum} and $self->conf->{cfgNum} eq HANDLER->lmConf->{cfgNum} ) { $self->reloadConf() } - bless $req, Lemonldap::NG::Portal::Main::Request; + bless $req, 'Lemonldap::NG::Portal::Main::Request'; return $self->SUPER::handler($req); }