Merge branch 'songquanpeng:main' into main
This commit is contained in:
commit
5398217470
@ -655,6 +655,9 @@ func EmailBind(c *gin.Context) {
|
||||
})
|
||||
return
|
||||
}
|
||||
if user.Role == common.RoleRootUser {
|
||||
common.RootUserEmail = email
|
||||
}
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": true,
|
||||
"message": "",
|
||||
|
Loading…
Reference in New Issue
Block a user