zeripath
04e480d477
Whenever the ctx.Session is updated, release it to save it before sending the redirect ( #11456 ) ( #11457 )
...
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-05-18 00:30:31 +08:00
Christian Muehlhaeuser
b0cd3b8ab9
Fixed ineffectual assignments ( #7555 )
...
Don't assign values we never use.
2019-07-22 17:35:53 +08:00
kolaente
f9ec2f89f2
Add golangci ( #6418 )
2019-06-12 15:41:28 -04:00
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
2019-05-27 18:00:32 +01:00
techknowlogick
adf3f004b6
Switch plaintext scratch tokens to use hash instead ( #4331 )
2018-07-27 08:54:50 -04:00
Clar Charr
c71ee33057
Increase default TOTP secret size to 320 bits ( #4287 )
2018-07-03 18:10:35 -04:00
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
2018-05-17 12:05:00 +08:00