diff --git a/configure.ac b/configure.ac index cc11212..1dd2fc2 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([GoogleAuth], [1.1.0], [enrico.m.crisostomo@gmail.com]) +AC_INIT([GoogleAuth], [1.1.1], [enrico.m.crisostomo@gmail.com]) AC_CONFIG_AUX_DIR([config]) # Initialize Automake diff --git a/pom.xml b/pom.xml index aeb1306..86970ab 100644 --- a/pom.xml +++ b/pom.xml @@ -35,7 +35,7 @@ com.warrenstrange googleauth - 1.1.0 + 1.1.1 jar ${project.groupId}:${project.artifactId} diff --git a/src/main/java/com/warrenstrange/googleauth/GoogleAuthenticator.java b/src/main/java/com/warrenstrange/googleauth/GoogleAuthenticator.java index d806a57..de2120a 100644 --- a/src/main/java/com/warrenstrange/googleauth/GoogleAuthenticator.java +++ b/src/main/java/com/warrenstrange/googleauth/GoogleAuthenticator.java @@ -514,7 +514,7 @@ public int getTotpPassword(String secret, long time) public int getTotpPasswordOfUser(String userName) { - return getTotpPassword(userName, new Date().getTime()); + return getTotpPasswordOfUser(userName, new Date().getTime()); } public int getTotpPasswordOfUser(String userName, long time)