From d5a98a29690e13f717fb72e8635fbea57e58f546 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 24 May 2019 12:15:26 +0800 Subject: Add support of utf8mb4 for mysql (#6992) --- modules/auth/user_form.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/auth') diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 38ee5415d9..8b9e5877d9 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -23,6 +23,7 @@ type InstallForm struct { DbPasswd string DbName string SSLMode string + Charset string `binding:"Required;In(utf8,utf8mb4)"` DbPath string AppName string `binding:"Required" locale:"install.app_name"` -- cgit v1.2.3