Ash McKenzie
127907c5e6
Allow passcode invalid error to appear ( #14371 )
...
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
4 years ago
kolaente
64133126cd
Update golangci-lint to version 1.31.0 ( #13102 )
...
This PR updates golangci-lint to the latest version 1.31.0.
The upgrade introduced a new check for which I've fixed or disabled most cases.
Signed-off-by: kolaente <k@knt.li>
4 years ago
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.
5 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 )
6 years ago
Clar Charr
c71ee33057
Increase default TOTP secret size to 320 bits ( #4287 )
6 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