mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 22:08:37 -04:00
Refactor User.Id to User.ID
This commit is contained in:
parent
46e96c008c
commit
1f2e173a74
79 changed files with 333 additions and 328 deletions
|
@ -374,7 +374,7 @@ func InstallPost(ctx *context.Context, form auth.InstallForm) {
|
|||
}
|
||||
|
||||
// Auto-login for admin
|
||||
ctx.Session.Set("uid", u.Id)
|
||||
ctx.Session.Set("uid", u.ID)
|
||||
ctx.Session.Set("uname", u.Name)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue