WIP - Fix bug #1414

This commit is contained in:
Christophe Maudoux 2018-05-07 23:35:53 +02:00
parent 41ad08c854
commit f3f6b74e74

View File

@ -210,7 +210,7 @@ llapp.controller 'SessionsExplorerCtrl', ['$scope', '$translator', '$location',
for category, attrs of categories
subres = []
for attr in attrs
if session[attr] and session[attr].match(/\w+/)
if session[attr]
if session[attr].match(/"type":\s*"(?:TOTP|U2F|UBK)"/)
subres.push
title: "type"