Commit a5efca53 authored by Xavier Guimard's avatar Xavier Guimard

Remove trailing whitespaces (#1464)

parent 7dafa251
Pipeline #2427 passed with stages
in 5 minutes and 37 seconds
......@@ -201,7 +201,7 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
pattern = /^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/
arrayDate = value.match(pattern)
session[key] = "#{arrayDate[3]}/#{arrayDate[2]}/#{arrayDate[1]} à #{arrayDate[4]}:#{arrayDate[5]}:#{arrayDate[6]}"
res = []
# 2. Push session keys in result, grouped by categories
......@@ -251,21 +251,6 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
epoch: epoch
td: "1"
delete session[attr]
else if session[attr].toString().match(/\w+/)
subres.push
title: attr
......
......@@ -98,7 +98,7 @@
<th ng-if="node.title=='type' || node.title=='rp'">{{translate(node.epoch)}}</th>
<td class="col-md-3" ng-if="node.epoch > 1500000000">{{localeDate(node.epoch)}}</td>
<td></td>
</div>
</div>
</script>
<script type="text/ng-template" id="nodes_renderer.html">
......
......@@ -83,7 +83,7 @@ stored in $req->steps and launches it. If the result is PE_OK, process()
continues, else it returns the error code.
If it is an Ajax request, do() responds in JSON format else it manages
redirection if any. Else it calls
redirection if any. Else it calls
Lemonldap::NG::Portal::Main::Display::display() to load template and arguments,
and launches Lemonldap::NG::Common::PSGI::sendHtml() using them.
......@@ -101,8 +101,8 @@ defined keys, but it must never create a root key. Plugin keys may have
explicit names to avoid conflicts.
Whole configuration is always available. It is stored in $self->conf. It must
not be modified by any components even during initialization process or
receiving request (during initialization, copy the value in the plugin
not be modified by any components even during initialization process or
receiving request (during initialization, copy the value in the plugin
namespace instead).
All plugins can access to portal methods using $self->p which points to
......
......@@ -391,20 +391,23 @@ sub run {
$self->logger->debug("No OIDC Consent found");
$_oidcConsents = [];
}
############
### Exclude revoked consents
#my @keep = ();
#while (@$_oidcConsents) {
#my $element = shift @$_oidcConsents;
#$self->logger->debug("Looking for revoked consents to delete ...");
#push @keep, $element if ( defined $element->{rp} and defined $element->{epoch} and defined $element->{scope} );
#}
#@$_oidcConsents = @keep;
############
############
### Exclude revoked consents
#my @keep = ();
#while (@$_oidcConsents) {
# my $element = shift @$_oidcConsents;
# $self->logger->debug(
# "Looking for revoked consents to delete ...");
# push @keep, $element
# if ( defined $element->{rp}
# and defined $element->{epoch}
# and defined $element->{scope} );
#}
#@$_oidcConsents = @keep;
############
# Read existing RP
@RPoidcConsent = grep { $_->{rp} eq $rp } @$_oidcConsents;
unless (@RPoidcConsent) {
......
......@@ -77,7 +77,6 @@ removeOidcConsent = (partner) ->
$("[partner='#{partner}']").hide()
# Error
, e
# Function used by setOrder() and removeOidcConsent() to push new values
# For security reason, modification is rejected unless a valid token is given
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment