dgryski / dgoogauth

Google Authenticator for Go
423 stars 59 forks source link

Make UTC time selectable #4

Closed kisom closed 8 years ago

kisom commented 8 years ago

For compatibility reasons, the library will need to use local time. However, switching on UTC is available via a boolean field in the configuration structure. This extends #3, which switches completely to UTC, by adding this field.

dgryski commented 8 years ago

Thanks Kyle for making this fix. I think this is a good compromise.