Skip to content
Snippets Groups Projects
Commit cc6d7da8 authored by renater.salaun's avatar renater.salaun
Browse files

Rename get_sp_list to account_wizard

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@21 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 5e5e604f
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ my %format = ( ...@@ -33,7 +33,7 @@ my %format = (
); );
my %actions = ('select_sp' => {'title_en' => 'Select your Service Provider' }, my %actions = ('select_sp' => {'title_en' => 'Select your Service Provider' },
'get_sp_list' => {'title_en' => 'Select your Service Provider' }, 'account_wizard' => {'title_en' => 'Select your Service Provider' },
'generate_token' => {'title_en' => 'Generate an authentication token'}, 'generate_token' => {'title_en' => 'Generate an authentication token'},
'validate_token' => {'title_en' => 'Validate an authentication token'}, 'validate_token' => {'title_en' => 'Validate an authentication token'},
); );
...@@ -110,7 +110,7 @@ sub new { ...@@ -110,7 +110,7 @@ sub new {
}else { }else {
## Default action ## Default action
&IdPAccountManager::Tools::do_log('info', "Default action"); &IdPAccountManager::Tools::do_log('info', "Default action");
$request->{'action'} = 'get_sp_list'; $request->{'action'} = 'account_wizard';
} }
bless $request, $pkg; bless $request, $pkg;
...@@ -229,8 +229,8 @@ sub respond { ...@@ -229,8 +229,8 @@ sub respond {
} }
} }
## Return the list of known SPs ## Return the list of known SPs first
sub req_get_sp_list { sub req_account_wizard {
my $self = shift; my $self = shift;
&IdPAccountManager::Tools::do_log('info', ""); &IdPAccountManager::Tools::do_log('info', "");
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
An error occured An error occured
[% END %] [% END %]
[% ELSIF action == 'get_sp_list' %] [% ELSIF action == 'account_wizard' %]
[% TRY %] [% TRY %]
[% PROCESS 'templates/web/get_sp_list.tt2.html' %] [% PROCESS 'templates/web/account_wizard.tt2.html' %]
[% CATCH %] [% CATCH %]
An error occured An error occured
[% END %] [% END %]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment