summaryrefslogtreecommitdiffstats
path: root/models/twofactor.go
Commit message (Collapse)AuthorAgeFilesLines
* Do not allow to reuse TOTP passcode (#3878)Lauris BH2018-05-021-6/+7
|
* Implements generator cli for secrets (#3531)Codruț Constantin Gușoi2018-02-181-2/+2
| | | Signed-off-by: Codruț Constantin Gușoi <codrut.gusoi@gmail.com>
* go back to using CFB for AES decryption/encryption for 2FA (#3274)Morgan Bazalgette2017-12-311-3/+44
|
* Refactor struct's time to remove unnecessary memory usage (#3142)Lunny Xiao2017-12-111-12/+3
| | | | | | | | | | | | | | * refactor struct's time to remove unnecessary memory usage * use AsTimePtr simple code * fix tests * fix time compare * fix template on gpg * use AddDuration instead of Add
* Various wiki bug fixes (#2996)Ethan Koenig2017-11-281-2/+2
| | | | | | * Update macaron * Various wiki bug fixes
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-2/+2
|
* Use AfterLoad instead of AfterSet on Structs (#2628)Lunny Xiao2017-10-011-10/+5
| | | | | | | | * use AfterLoad instead of AfterSet on Structs * fix the comments on AfterLoad * fix the comments on action AfterLoad
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-12/+2
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* Two factor authentication support (#630)Andrew2017-01-161-0/+141
* Initial commit for 2FA support Signed-off-by: Andrew <write@imaginarycode.com> * Add vendored files * Add missing depends * A few clean ups * Added improvements, proper encryption * Better encryption key * Simplify "key" generation * Make 2FA enrollment page more robust * Fix typo * Rename twofa/2FA to TwoFactor * UNIQUE INDEX -> UNIQUE