aboutsummaryrefslogtreecommitdiff
path: root/internal/db/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/user.go')
-rw-r--r--internal/db/user.go2
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) {