Git Repositories

First step to using Bootstrap.
[simple-git-host.git] / src / include.inc.php
index 0373b6a..27d0ba1 100644 (file)
@@ -58,8 +58,9 @@ function auth() {
   if (isset($_POST['submit_auth'])) {
     $fUsername = $_POST['username'];
     $fPassword = $_POST['password'];
-    $password = implode('', gitrepoinfo('show-pwd', $fUsername));
+    $password = gitrepoinfo('show-pwd', $fUsername);
     if ($password !== false) {
+      $password = implode('', $password);
       if (empty($password)) {
         // autoris√©
         $_SESSION['username'] = $fUsername;