forked from nixcn/nixcn-cms
Impl magic login logic && checkin logic
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -29,10 +29,11 @@ type email struct {
|
||||
}
|
||||
|
||||
type secrets struct {
|
||||
jwt string `yaml:"jwt"`
|
||||
turnstile string `yaml:"turnstile"`
|
||||
jwt_secret string `yaml:"jwt_secret"`
|
||||
turnstile_secret string `yaml:"turnstile_secret"`
|
||||
}
|
||||
|
||||
type ttl struct {
|
||||
magic_token string `yaml:"magin_token"`
|
||||
magic_link_ttl string `yaml:"magic_link_ttl"`
|
||||
jwt_ttl string `yaml:"jwt_ttl"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user