zeripath
76053ac31a
Whenever the ctx.Session is updated, release it to save it before sending the redirect ( #11456 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
Christian Muehlhaeuser
b0cd3b8ab9
Fixed ineffectual assignments ( #7555 )
...
Don't assign values we never use.
6 years ago
kolaente
f9ec2f89f2
Add golangci ( #6418 )
6 years ago
Hui Hui
cf3ffebfde
fix issuer of OTP URI should be URI-encoded. ( #6634 )
...
* 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
6 years ago
techknowlogick
adf3f004b6
Switch plaintext scratch tokens to use hash instead ( #4331 )
7 years ago
Clar Charr
c71ee33057
Increase default TOTP secret size to 320 bits ( #4287 )
7 years ago
David Schneiderbauer
2aabfc1afa
Splitted the user settings code into several files to be more maintainable ( #3968 )
...
* 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
7 years ago