perltidy (#1464)
This commit is contained in:
parent
ebe84caee7
commit
da44a7c83e
|
@ -406,10 +406,10 @@ sub updateMySession {
|
|||
|
||||
sub delKeyInMySession {
|
||||
my ( $self, $req ) = @_;
|
||||
my $res = 0;
|
||||
my $mKeys = [];
|
||||
my $dkey = $req->param('key');
|
||||
my $sub = $req->param('sub');
|
||||
my $res = 0;
|
||||
my $mKeys = [];
|
||||
my $dkey = $req->param('key');
|
||||
my $sub = $req->param('sub');
|
||||
if ( my $token = $req->param('token') ) {
|
||||
if ( $self->ott->getToken($token) ) {
|
||||
if ( $req->param('sessionType') eq 'persistent' ) {
|
||||
|
|
|
@ -108,7 +108,7 @@ LemonLDAP::NG Portal jQuery scripts
|
|||
});
|
||||
};
|
||||
|
||||
delKey = function(key, option, success, error) {
|
||||
delKey = function(key, sub, success, error) {
|
||||
return $.ajax({
|
||||
type: "GET",
|
||||
url: datas['scriptname'] + '/mysession/?gettoken',
|
||||
|
@ -117,7 +117,7 @@ LemonLDAP::NG Portal jQuery scripts
|
|||
success: function(data) {
|
||||
return $.ajax({
|
||||
type: "DELETE",
|
||||
url: datas['scriptname'] + "/mysession/persistent/" + key + "?option=" + option + "&token=" + data.token,
|
||||
url: datas['scriptname'] + "/mysession/persistent/" + key + "?sub=" + sub + "&token=" + data.token,
|
||||
dataType: 'json',
|
||||
success: success,
|
||||
error: error
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user