Skip to content
Snippets Groups Projects
Commit 4c52986f authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

oops

parent 045b33fe
No related branches found
No related tags found
No related merge requests found
......@@ -10,14 +10,13 @@
use strict;
use warnings;
use utf8;
use lib qw(lib conf);
use lib qw(lib);
use feature "switch";
no warnings 'experimental::smartmatch';
use Getopt::Long qw(:config auto_help);
use Pod::Usage;
use Conf;
use IdPAccountManager::Data::AuthenticationToken;
use IdPAccountManager::Data::AuthenticationToken::Manager;
use IdPAccountManager::Data::ServiceProvider;
......
......@@ -10,7 +10,7 @@
use strict;
use warnings;
use utf8;
use lib qw(lib conf);
use lib qw(lib);
use IdPAccountManager::Configuration;
use IdPAccountManager::WebRequest;
......@@ -27,22 +27,22 @@ my %format = (
'sp_entityid' => $urn_or_url_regex,
);
my $configuration = IdPAccountManager::Configuration->new(
file => 'conf/IdPAccountManager.conf'
);
my %actions = (
'select_sp' => { 'title_en' => 'Select your Service Provider' },
'account_wizard' => { 'title_en' => 'Select your Service Provider' },
'generate_token' => { 'title_en' => 'Generate an authentication token' },
'validate_token' => { 'title_en' => 'Complete Email Challenge' },
'home' => { 'title_en' => $Conf::global{app_name} },
'home' => { 'title_en' => $configuration->{app_name} },
);
## Gives writes for the group
umask 0002;
chdir $Conf::global{root_manager_dir};
my $configuration = IdPAccountManager::Configuration->new(
file => 'conf/IdPAccountManager.conf'
);
chdir $configuration->{root_manager_dir};
my $request = new IdPAccountManager::WebRequest(
actions => \%actions,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment