重构增加模型枚举值定义
This commit is contained in:
@@ -18,7 +18,7 @@ type VerifierReq struct {
|
||||
func SmsCode(c *fiber.Ctx) error {
|
||||
|
||||
_, err := auth.Protect(c, []auth.PayloadType{
|
||||
auth.PayloadClientConfidential,
|
||||
auth.PayloadSecuredServer,
|
||||
}, []string{})
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user