Commit Graph

2 Commits (54c0fe62ccaadb5e5b8e8ccf3245e5e6603ce6d1)

Author SHA1 Message Date
wxiaoguang 49dd906753
Use base32 for 2FA scratch token (#18384) 3 years ago
Lunny Xiao de8e3948a5
Refactor auth package (#17962) 3 years ago
Kamil Domański 021df29623
Allow U2F 2FA without TOTP (#11573) 3 years ago
Lunny Xiao 91e21d4fca
Move twofactor to models/login (#17143) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
silverwind 1e6fa57acb
Use single shared random string generation function (#15741) 4 years ago
silverwind cda44750cb
Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 4 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 5 years ago
SagePtr 59f879bfec Fix double-generation of scratch token (#6832) (#6833) 6 years ago
techknowlogick adf3f004b6
Switch plaintext scratch tokens to use hash instead (#4331) 6 years ago
Lauris BH 1e1ece8f3d
Do not allow to reuse TOTP passcode (#3878) 7 years ago
Codruț Constantin Gușoi 96c268c0fc Implements generator cli for secrets (#3531) 7 years ago
Morgan Bazalgette edce41ae65 go back to using CFB for AES decryption/encryption for 2FA (#3274) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Ethan Koenig b7ebaf6d20 Various wiki bug fixes (#2996) 7 years ago
Ethan Koenig aa962deec0 Replace deprecated Id method with ID (#2655) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
Andrew 6dd096b7f0 Two factor authentication support (#630) 8 years ago