Finish up HOTP support

Close #1
This commit is contained in:
Alexander Bakker 2018-06-06 17:23:40 +02:00
parent 3aba0f3f47
commit da37b5175e
8 changed files with 72 additions and 5 deletions

View file

@ -95,7 +95,6 @@ public abstract class OtpInfo implements Serializable {
String algo = obj.getString("algo");
int digits = obj.getInt("digits");
switch (type) {
case "totp":
int period = obj.getInt("period");