mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
nothing important here
Former-commit-id: e6c4ade12d085cb8fa4989b15fa446b75ee114b2
This commit is contained in:
@@ -177,12 +177,12 @@ func (s *Sessions) decodeCookieValue(cookieValue string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var cookieValueDecoded *string
|
||||
var cookieValueDecoded string
|
||||
|
||||
if decode := s.config.Decode; decode != nil {
|
||||
err := decode(s.config.Cookie, cookieValue, &cookieValueDecoded)
|
||||
if err == nil {
|
||||
cookieValue = *cookieValueDecoded
|
||||
cookieValue = cookieValueDecoded
|
||||
} else {
|
||||
cookieValue = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user