Fix bug work with sqlite3

This commit is contained in:
Unknown 2014-03-30 16:01:50 -04:00
parent d0e6a4c25a
commit 2a0066420a
8 changed files with 31 additions and 12 deletions

View file

@ -157,7 +157,7 @@ func CreateRepository(user *User, repoName, desc, repoLang, license string, priv
}
access := Access{
UserName: user.Name,
UserName: user.LowerName,
RepoName: strings.ToLower(path.Join(user.Name, repo.Name)),
Mode: AU_WRITABLE,
}