Commit 329962e4 authored by Christophe Maudoux's avatar Christophe Maudoux

Fix typo & mistake

parent 46702f3a
......@@ -262,7 +262,7 @@ sub _choice {
sub _redirect {
my ( $self, $req ) = @_;
my $arg = $req->env->{QUERY_STRING};
$self->userLogger->error('Call sfEngine _redirect method');
$self->logger->debug('Call sfEngine _redirect method');
return [
302, [ Location => $self->conf->{portal} . ( $arg ? "?$arg" : '' ) ], []
];
......
......@@ -76,7 +76,6 @@ sub run {
}
}
$self->logger->debug("Same 2F Device found ? $SameUBKFound");
if ($SameUBKFound) {
$self->userLogger->error("Yubikey already registered !");
return $self->p->sendHtml(
......
......@@ -26,7 +26,6 @@ delete2F = (device, epoch) ->
else if device == 'TOTP'
device = 'totp'
else setMsg 'u2fFailed', 'warning'
$.ajax
type: "POST"
url: "#{portal}2fregisters/#{device}/delete"
......
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