From 9e6914c7875e4d318172e970c2787470228282b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Sun, 21 Aug 2022 13:36:06 +0800 Subject: [PATCH] =?UTF-8?q?fix(user):=E4=BF=AE=E5=A4=8D=E5=9B=A0=E4=B8=BA?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=94=A8=E6=88=B7=E5=AF=86=E9=92=A5=E5=8A=A0?= =?UTF-8?q?=E5=AF=86=E6=96=B9=E6=B3=95=E5=B8=A6=E6=9D=A5=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E7=BB=93=E6=9E=84=E9=95=BF=E5=BA=A6=E4=B8=8D?= =?UTF-8?q?=E5=A4=9F=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/user.go b/model/user.go index 6436146..9a25efd 100644 --- a/model/user.go +++ b/model/user.go @@ -4,7 +4,7 @@ type User struct { Created `xorm:"extends"` Id string `xorm:"varchar(120) pk not null" json:"id"` Username string `xorm:"varchar(30) not null" json:"username"` - Password string `xorm:"varchar(120) not null" json:"-"` + Password string `xorm:"varchar(256) not null" json:"-"` ResetNeeded bool `xorm:"bool not null" json:"resetNeeded"` Type int8 `xorm:"smallint not null" json:"type"` Enabled bool `xorm:"bool not null" json:"enabled"`