mirror of
https://gitee.com/gitea/gitea
synced 2025-11-30 05:10:28 +08:00
Bug fix
This commit is contained in:
@@ -190,7 +190,7 @@ func (user *User) EncodePasswd() error {
|
||||
|
||||
// UserPath returns the path absolute path of user repositories.
|
||||
func UserPath(userName string) string {
|
||||
return filepath.Join(RepoRootPath, userName)
|
||||
return filepath.Join(RepoRootPath, strings.ToLower(userName))
|
||||
}
|
||||
|
||||
func GetUserByKeyId(keyId int64) (*User, error) {
|
||||
|
||||
Reference in New Issue
Block a user