summaryrefslogtreecommitdiff
path: root/auth/ssh.php
diff options
context:
space:
mode:
authorGuillaume Mazoyer <respawneral@gmail.com>2014-06-04 11:07:14 +0200
committerGuillaume Mazoyer <respawneral@gmail.com>2014-06-04 11:07:14 +0200
commit0572afd29a1ef117873935b9ca5e8f1a0676727b (patch)
tree43f22759ed0166dc870a599ded3261bd5ebc5717 /auth/ssh.php
parent0269dccacb67f25beb39dac8f16fb3d5538c7782 (diff)
Fix some newbie errors.
Diffstat (limited to 'auth/ssh.php')
-rw-r--r--auth/ssh.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/ssh.php b/auth/ssh.php
index 55f6e8a..27bcdaf 100644
--- a/auth/ssh.php
+++ b/auth/ssh.php
@@ -69,7 +69,7 @@ class SSH extends Authentication {
throw new Exception('Unknown type of connection for SSH.');
}
- if (!success) {
+ if (!$success) {
throw new Exception('SSH authentication failed.');
}
}