Minor improvement & update lang (#1386)
This commit is contained in:
parent
a6c4604f14
commit
9f6e9e2dd4
|
@ -104,7 +104,7 @@ sub verify {
|
||||||
. Crypt::U2F::Server::u2fclib_getError()
|
. Crypt::U2F::Server::u2fclib_getError()
|
||||||
. ')' );
|
. ')' );
|
||||||
$req->error(PE_U2FFAILED);
|
$req->error(PE_U2FFAILED);
|
||||||
$req->authResult(PE_U2FFAILED);
|
#$req->authResult(PE_U2FFAILED);
|
||||||
return $self->fail($req);
|
return $self->fail($req);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ sub loadUser {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#### TOTO : MANAGE MULTI U2F KEYS
|
#### TODO : MANAGE MULTI U2F KEYS
|
||||||
if ( ( $kh = $u2fs[0]{_keyHandle} )
|
if ( ( $kh = $u2fs[0]{_keyHandle} )
|
||||||
and ( $uk = $u2fs[0]{_userKey} ) )
|
and ( $uk = $u2fs[0]{_userKey} ) )
|
||||||
{
|
{
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"This address is already used",
|
"PE80":"This address is already used",
|
||||||
"PE81":"Invalid authentication attempt",
|
"PE81":"Invalid authentication attempt",
|
||||||
"PE82":"Exceeded authentication timeout",
|
"PE82":"Exceeded authentication timeout",
|
||||||
"PE83":"U2F verification failed",
|
"PE83":"U2F verification failed. Retry or contact your administrator",
|
||||||
"PE84":"You're not authorized to access to this host",
|
"PE84":"You're not authorized to access to this host",
|
||||||
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
||||||
"2FManagment":"2ndF Managment",
|
"2FManagment":"2ndF Managment",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"Esta dirección ya está utilizada",
|
"PE80":"Esta dirección ya está utilizada",
|
||||||
"PE81":"Invalid authentication attempt",
|
"PE81":"Invalid authentication attempt",
|
||||||
"PE82":"Exceeded authentication timeout",
|
"PE82":"Exceeded authentication timeout",
|
||||||
"PE83":"U2F verification failed",
|
"PE83":"U2F verification failed. Retry or contact your administrator",
|
||||||
"PE84":"You're not authorized to access to this host",
|
"PE84":"You're not authorized to access to this host",
|
||||||
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
||||||
"2FManagment":"2ndF Managment",
|
"2FManagment":"2ndF Managment",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"Cette adresse est déjà utilisée",
|
"PE80":"Cette adresse est déjà utilisée",
|
||||||
"PE81":"Tentative d'authentification invalide",
|
"PE81":"Tentative d'authentification invalide",
|
||||||
"PE82":"Délai d'authentification dépassé",
|
"PE82":"Délai d'authentification dépassé",
|
||||||
"PE83":"La vérification U2F a échoué",
|
"PE83":"La vérification U2F a échoué. Réessayez ou contactez votre administrateur",
|
||||||
"PE84":"Vous n'êtes pas autorisé à accéder à ce site",
|
"PE84":"Vous n'êtes pas autorisé à accéder à ce site",
|
||||||
"PE85":"Le site souhaite une authentification plus récente (et le plugin UpgradeSession n'est pas chargé). Déconnectez-vous et réessayez",
|
"PE85":"Le site souhaite une authentification plus récente (et le plugin UpgradeSession n'est pas chargé). Déconnectez-vous et réessayez",
|
||||||
"2FManagment":"Gestionnaire 2ndF",
|
"2FManagment":"Gestionnaire 2ndF",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"Dit adres is al in gebruik",
|
"PE80":"Dit adres is al in gebruik",
|
||||||
"PE81":"Invalid authentication attempt",
|
"PE81":"Invalid authentication attempt",
|
||||||
"PE82":"Exceeded authentication timeout",
|
"PE82":"Exceeded authentication timeout",
|
||||||
"PE83":"U2F verification failed",
|
"PE83":"U2F verification failed. Retry or contact your administrator",
|
||||||
"PE84":"You're not authorized to access to this host",
|
"PE84":"You're not authorized to access to this host",
|
||||||
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
||||||
"2FManagment":"Gestionnaire 2ndF",
|
"2FManagment":"Gestionnaire 2ndF",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"Este endereço já é utilizado",
|
"PE80":"Este endereço já é utilizado",
|
||||||
"PE81":"Invalid authentication attempt",
|
"PE81":"Invalid authentication attempt",
|
||||||
"PE82":"Exceeded authentication timeout",
|
"PE82":"Exceeded authentication timeout",
|
||||||
"PE83":"U2F verification failed",
|
"PE83":"U2F verification failed. Retry or contact your administrator",
|
||||||
"PE84":"You're not authorized to access to this host",
|
"PE84":"You're not authorized to access to this host",
|
||||||
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
||||||
"2FManagment":"Gestionnaire 2ndF",
|
"2FManagment":"Gestionnaire 2ndF",
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
"PE80":"This address is already used",
|
"PE80":"This address is already used",
|
||||||
"PE81":"Invalid authentication attempt",
|
"PE81":"Invalid authentication attempt",
|
||||||
"PE82":"Exceeded authentication timeout",
|
"PE82":"Exceeded authentication timeout",
|
||||||
"PE83":"U2F verification failed",
|
"PE83":"U2F verification failed. Retry or contact your administrator",
|
||||||
"PE84":"You're not authorized to access to this host",
|
"PE84":"You're not authorized to access to this host",
|
||||||
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
"PE85":"The remote site ask for a newer session (and UpgradeSession plugin isn't loaded). Logout and retry",
|
||||||
"2FManagment":"Gestionnaire 2ndF",
|
"2FManagment":"Gestionnaire 2ndF",
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
<span id="verify" class="btn btn-success" role="button">
|
<span id="verify" class="btn btn-success" role="button">
|
||||||
<span class="glyphicon glyphicon-check"></span>
|
<span class="glyphicon glyphicon-check"></span>
|
||||||
<span trspan="verify">Verify</span>
|
<span trspan="register">Register</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
<TMPL_IF NAME="AUTH_ERROR">
|
<TMPL_IF NAME="AUTH_ERROR">
|
||||||
<div class="message message-<TMPL_VAR NAME="AUTH_ERROR_TYPE"> alert"><span trmsg="<TMPL_VAR NAME="AUTH_ERROR">"></span></div>
|
<div class="message message-<TMPL_VAR NAME="AUTH_ERROR_TYPE"> alert"><span trmsg="<TMPL_VAR NAME="AUTH_ERROR">"></span></div>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
|
<!--
|
||||||
<TMPL_IF NAME="FAILED">
|
<TMPL_IF NAME="FAILED">
|
||||||
<p trspan="u2fFailed"></p>
|
<p trspan="u2fFailed"></p>
|
||||||
</TMPL_IF>
|
</TMPL_IF>
|
||||||
|
-->
|
||||||
<TMPL_IF NAME="CHALLENGE">
|
<TMPL_IF NAME="CHALLENGE">
|
||||||
<div class="message message-positive alert"><span trspan="touchU2fDevice"></span></div>
|
<div class="message message-positive alert"><span trspan="touchU2fDevice"></span></div>
|
||||||
<form id="verify-form" action="/u2fcheck" method="post">
|
<form id="verify-form" action="/u2fcheck" method="post">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user