add login fail warn &
add web client on/off & up admin peer filter & upgrade web client
This commit is contained in:
1 parent
0eb733cc33
commit
b4965e8885
20 files changed
+463
-379
No files matched your search
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
func RustAuth() gin.HandlerFunc {
|
||||
return func(c *gin.Context) {
|
||||
//fmt.Println(c.Request.Header)
|
||||
//fmt.Println(c.Request.URL, c.Request.Header)
|
||||
//获取HTTP_AUTHORIZATION
|
||||
token := c.GetHeader("Authorization")
|
||||
if token == "" {
|
||||
|
||||
Reference in new issue
Block a user