Commit Graph

2 Commits (5e43fa92ff5d7aa53eec1c7e6756a9adb34a6d45)

Author SHA1 Message Date
ᴜɴᴋɴᴡᴏɴ 9bb218734c
db: use GORM to backup and restore non-legacy tables () 2020-05-04 16:25:57 +08:00
ᴜɴᴋɴᴡᴏɴ cb439a126a
db: add tests for two factors ()
* Rename to TwoFactors.Create

* Use GORM to execute queries

* TwoFactor.GetByUserID

* Add tests

* Fix failing tests

* Add MD5 tests

* Add tests for RandomChars
2020-04-14 09:41:54 +08:00