mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
minor
Former-commit-id: 1747352d45933ad8c8623d8dcfdbcb176ecba50c
This commit is contained in:
@@ -207,9 +207,8 @@ func (s *Sessions) decodeCookieValue(cookieValue string) string {
|
||||
return ""
|
||||
}
|
||||
|
||||
var cookieValueDecoded string
|
||||
|
||||
if decode := s.config.Decode; decode != nil {
|
||||
var cookieValueDecoded string
|
||||
err := decode(s.config.Cookie, cookieValue, &cookieValueDecoded)
|
||||
if err == nil {
|
||||
cookieValue = cookieValueDecoded
|
||||
|
||||
Reference in New Issue
Block a user