Commit Graph

6 Commits (0b3aaa61964faa85b8008b04487388cc362ab436)

Author SHA1 Message Date
Christian Muehlhaeuser b0cd3b8ab9 Fixed ineffectual assignments ()
Don't assign values we never use.
kolaente f9ec2f89f2 Add golangci ()
Hui Hui cf3ffebfde fix issuer of OTP URI should be URI-encoded. ()
* fix: Issuer of OTP URI should be URI-encoded.

follow this link https://github.com/google/google-authenticator/wiki/Key-Uri-Format .

* filter unsafe character ':' in issuer

* Use Replace rather than ReplaceAll
techknowlogick adf3f004b6
Switch plaintext scratch tokens to use hash instead ()
Clar Charr c71ee33057 Increase default TOTP secret size to 320 bits ()
David Schneiderbauer 2aabfc1afa Splitted the user settings code into several files to be more maintainable ()
* refactor setting router code

splitted up one huge router settings file into the smaller files
representing the actual page structure

* move code to subfolder

* rename functions

* renamed files

* add copyright information