PHPGangsta / GoogleAuthenticator

PHP class to generate and verify Google Authenticator 2-factor authentication
http://phpgangsta.de/4376
BSD 2-Clause "Simplified" License
2.26k stars 699 forks source link

Add ability to use custom timeSlice in verifyCode like we have in getCode for more flexible usage. #17

Closed 34x closed 9 years ago

34x commented 9 years ago

Add currentTimeSlice argument for verifyCode as same as in getCode method to be able to use other time than we have directly from time() (if we have other timezone in server settings for example)

PHPGangsta commented 9 years ago

Thank you, good idea!