Commit Graph

5 Commits (301d84e83a9a1ca81686fbd13be070769b30f2b0)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context ()
* Move almost all functions' parameter db.Engine to context.Context
* remove some unnecessary wrap functions
Lunny Xiao 772ad761eb
Fix some slice problems (incorrect slice length) ()
6543 1f45d1e130
Accounts with WebAuthn only (no TOTP) now exist ... fix code to handle that case ()
Lunny Xiao de8e3948a5
Refactor auth package ()
Lunny Xiao 9defddb286
Move more model into models/user ()
* Move more model into models/user

* Remove unnecessary comment

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>