feat: sync login email verification support
This commit is contained in:
parent
e0cabb4930
commit
9a501f900a
39 changed files with 2198 additions and 117 deletions
|
|
@ -9,6 +9,7 @@ import (
|
|||
// PasswordStore 持久化账号 2FA/SRP 配置。
|
||||
type PasswordStore interface {
|
||||
GetByUser(ctx context.Context, userID int64) (domain.PasswordSettings, bool, error)
|
||||
LoginEmailOwner(ctx context.Context, email string) (int64, bool, error)
|
||||
Save(ctx context.Context, userID int64, settings domain.PasswordSettings) error
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue