mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-03 02:33:01 +08:00
Change /user/profile URL to /user/:username
This commit is contained in:
@ -69,7 +69,7 @@ func SignInRequire(redirect bool) martini.Handler {
|
||||
data["IsSigned"] = true
|
||||
data["SignedUserId"] = SignedInId(session)
|
||||
data["SignedUserName"] = SignedInName(session)
|
||||
data["Avatar"] = SignedInUser(session).Avatar
|
||||
data["SignedAvatar"] = SignedInUser(session).Avatar
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user