Issue 150: Show public git url for projects

This commit is contained in:
Nathan Adams
2016-04-04 19:59:52 -05:00
parent 4e94e60934
commit 1fdddf2501
3 changed files with 14 additions and 3 deletions

View File

@@ -383,8 +383,8 @@ class IDF_Scm_Git extends IDF_Scm
public static function getAuthAccessUrl($project, $user, $commit=null)
{
// if the user haven't registred a public ssh key,
// he can't use the write url which use the SSH authentification
// if the user haven't registered a public ssh key,
// he can't use the write url which use the SSH authentication
if ($user != null) {
$keys = $user->get_idf_key_list();
if (count ($keys) == 0)