mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix: gen code generator; some unit tests
This commit is contained in:
parent
33a996e777
commit
918f920d57
8 changed files with 86 additions and 178 deletions
|
@ -152,11 +152,13 @@ func FinishPasskeyLogin(c *gin.Context) {
|
|||
return
|
||||
}
|
||||
|
||||
secureSessionID := user.SetSecureSessionID(outUser.ID)
|
||||
|
||||
c.JSON(http.StatusOK, LoginResponse{
|
||||
Code: LoginSuccess,
|
||||
Message: "ok",
|
||||
Token: token,
|
||||
// SecureSessionID: secureSessionID,
|
||||
Code: LoginSuccess,
|
||||
Message: "ok",
|
||||
Token: token,
|
||||
SecureSessionID: secureSessionID,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue