forked from free-lancers/electricity_bill_calc_service
		
	enhance(security):删除不需要的返回语句。
This commit is contained in:
		| @@ -32,7 +32,6 @@ func MustAuthenticated(c *gin.Context) { | ||||
| 	session, exists := c.Get("session") | ||||
| 	if !exists || session == nil { | ||||
| 		c.AbortWithStatus(http.StatusForbidden) | ||||
| 		return | ||||
| 	} | ||||
| 	if _, ok := session.(*model.Session); !ok { | ||||
| 		c.AbortWithStatus(http.StatusForbidden) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user