mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 23:30:00 +01:00
refactor(db): rename User.Passwd to User.Password (#7196)
This commit is contained in:
@@ -185,7 +185,7 @@ func authenticatedUser(ctx *macaron.Context, sess session.Store) (_ *db.User, is
|
||||
u := &db.User{
|
||||
Name: webAuthUser,
|
||||
Email: gouuid.NewV4().String() + "@localhost",
|
||||
Passwd: webAuthUser,
|
||||
Password: webAuthUser,
|
||||
IsActive: true,
|
||||
}
|
||||
if err = db.CreateUser(u); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user