From 184a57ef4251029fa1daa18e259b27e3e5ec3663 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Fri, 3 Dec 2021 12:24:46 +0800 Subject: [PATCH] Update app.js --- apps/authentiwatch/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/authentiwatch/app.js b/apps/authentiwatch/app.js index b0ff24c75..2c6d09619 100644 --- a/apps/authentiwatch/app.js +++ b/apps/authentiwatch/app.js @@ -10,6 +10,8 @@ const calculating = "Calculating"; const notokens = "No tokens"; const notsupported = "Not supported"; +// sample settings: +// {tokens:[{"algorithm":"SHA1","digits":6,"period":30,"issuer":"","account":"","secret":"Bbb","label":"Aaa"}],misc:{}} var settings = require("Storage").readJSON("authentiwatch.json", true) || {tokens:[],misc:{}}; if (settings.data ) tokens = settings.data ; /* v0.02 settings */ if (settings.tokens) tokens = settings.tokens; /* v0.03+ settings */