summaryrefslogtreecommitdiffstats
path: root/modules/web/middleware/locale.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/web/middleware/locale.go')
-rw-r--r--modules/web/middleware/locale.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/web/middleware/locale.go b/modules/web/middleware/locale.go
index de8e497965..f4018527c0 100644
--- a/modules/web/middleware/locale.go
+++ b/modules/web/middleware/locale.go
@@ -60,7 +60,7 @@ func SetLocaleCookie(resp http.ResponseWriter, lang string, expiry int) {
}
// DeleteLocaleCookie convenience function to delete the locale cookie consistently
-// Setting the lang cookie will trigger the middleware to reset the language ot previous state.
+// Setting the lang cookie will trigger the middleware to reset the language to previous state.
func DeleteLocaleCookie(resp http.ResponseWriter) {
SetCookie(resp, "lang", "",
-1,