diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-22 15:22:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 15:22:32 +0800 |
commit | c4a0a404735cdcfdcb805e9fed474c75110bca89 (patch) | |
tree | d4ef0af7722425451f23b6ca06ef90a375a5f6bc /internal/db/user.go | |
parent | f59a68c531c680d4488d8d977798f6aa36551bfa (diff) |
conf: overhaul repository settings (#5932)
Diffstat (limited to 'internal/db/user.go')
-rw-r--r-- | internal/db/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/user.go b/internal/db/user.go index feea7b37..ed43bc52 100644 --- a/internal/db/user.go +++ b/internal/db/user.go @@ -877,7 +877,7 @@ func DeleteInactivateUsers() (err error) { // UserPath returns the path absolute path of user repositories. func UserPath(userName string) string { - return filepath.Join(conf.RepoRootPath, strings.ToLower(userName)) + return filepath.Join(conf.Repository.Root, strings.ToLower(userName)) } func GetUserByKeyID(keyID int64) (*User, error) { |