WIP - Fix bug #1414

This commit is contained in:
Christophe Maudoux 2018-05-07 23:36:22 +02:00
parent f3f6b74e74
commit 6fc7455233
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@
subres = [];
for (i = 0, len = attrs.length; i < len; i++) {
attr = attrs[i];
if (session[attr] && session[attr].match(/\w+/)) {
if (session[attr]) {
if (session[attr].match(/"type":\s*"(?:TOTP|U2F|UBK)"/)) {
subres.push({
title: "type",

File diff suppressed because one or more lines are too long