summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-13 18:12:07 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-13 18:12:07 -0400
commit4b9b8024ba59b5b84d92dca650761b35ebf6408a (patch)
treef40ed3d56e5df158168cb38a5f3b479c17903362 /models/user.go
parent8c266f2df5848b230c6fbb0bc4578a8907edc725 (diff)
downloadgitea-4b9b8024ba59b5b84d92dca650761b35ebf6408a.tar.gz
gitea-4b9b8024ba59b5b84d92dca650761b35ebf6408a.zip
Clean oauth code
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index ea2c79b771..ffee2dd9e5 100644
--- a/models/user.go
+++ b/models/user.go
@@ -234,7 +234,7 @@ func ChangeUserName(user *User, newUserName string) (err error) {
}
}
- repos, err := GetRepositories(user)
+ repos, err := GetRepositories(user, true)
if err != nil {
return err
}