diff options
Diffstat (limited to 'pkg/app/utils/userdata.go')
-rw-r--r-- | pkg/app/utils/userdata.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pkg/app/utils/userdata.go b/pkg/app/utils/userdata.go index acff520..dc4258b 100644 --- a/pkg/app/utils/userdata.go +++ b/pkg/app/utils/userdata.go @@ -38,14 +38,7 @@ func GetUserPreferences(r *http.Request) models.UserPreferences { } } - cookie, err = r.Cookie("userpref_useflags") - if err == nil { - cookieValue, err := b64.StdEncoding.DecodeString(cookie.Value) - if err == nil { - json.Unmarshal(cookieValue, &userPreferences.Useflags) - } - } - + // old cookie: userpref_useflags // old cookie: userpref_arches userPreferences.Sanitize() |