switched over old auth links to the new url system
This commit is contained in:
parent
a3a335486a
commit
12ea0cf6fa
8 changed files with 24 additions and 56 deletions
|
|
@ -61,45 +61,6 @@ sub www_auth {
|
|||
return WebGUI::Operation::Shared::userStyle($authMethod->$methodCall);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_createAccount {
|
||||
return www_auth("createAccount");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_deactivateAccount {
|
||||
return www_auth("deactivateAccount");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_displayAccount {
|
||||
return www_auth("displayAccount");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_displayLogin {
|
||||
return www_auth("displayLogin");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_init {
|
||||
return www_auth("init");
|
||||
}
|
||||
|
||||
#Deprecated. Kept for backwards compatibility. Use op=auth&method=login
|
||||
#-------------------------------------------------------------------
|
||||
sub www_login {
|
||||
return www_auth("login");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_logout {
|
||||
return www_auth("logout");
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub www_recoverPassword {
|
||||
return www_auth("recoverPassword");
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ our @EXPORT = qw(&menuWrapper);
|
|||
}
|
||||
unless ($session{form}{op} eq "displayAccount"){
|
||||
my %hash;
|
||||
$hash{'options.display'} = '<a href="'.WebGUI::URL::page('op=displayAccount').'">'.WebGUI::International::get(342).'</a>';
|
||||
$hash{'options.display'} = '<a href="'.WebGUI::URL::page('op=auth&method=init').'">'.WebGUI::International::get(342).'</a>';
|
||||
push(@array,\%hash);
|
||||
}
|
||||
unless ($session{form}{op} eq "editProfile"){
|
||||
|
|
@ -59,11 +59,11 @@ our @EXPORT = qw(&menuWrapper);
|
|||
}
|
||||
|
||||
my %logout;
|
||||
$logout{'options.display'} = '<a href="'.WebGUI::URL::page('op=logout').'">'.WebGUI::International::get(64).'</a>';
|
||||
$logout{'options.display'} = '<a href="'.WebGUI::URL::page('op=auth&method=logout').'">'.WebGUI::International::get(64).'</a>';
|
||||
push(@array,\%logout);
|
||||
if ($session{setting}{selfDeactivation} && !WebGUI::Grouping::isInGroup(3)){
|
||||
my %hash;
|
||||
$hash{'options.display'} = '<a href="'.WebGUI::URL::page('op=deactivateAccount').'">'.WebGUI::International::get(65).'</a>';
|
||||
$hash{'options.display'} = '<a href="'.WebGUI::URL::page('op=auth&method=deactivateAccount').'">'.WebGUI::International::get(65).'</a>';
|
||||
push(@array,\%hash);
|
||||
}
|
||||
return \@array;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue