Commit def4f9c9 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Update to class.tx_nG6_eid.php

The ssh user test has been fixed (there was a permission error).

Issue #210
parent 9a162a07
......@@ -637,7 +637,7 @@ class tx_nG6_eid {
$res = 3;
// check login and password
if (isset($user_login) && isset($user_pwd) && $user_login != 'undefined' && $user_pwd != 'undefined') {
$ssh_command = 'touch '.$path_to_check.'/test ; rm -f '.$path_to_check.'/test' ;
$ssh_command = 'touch '.$path_to_check.'/run/test ; rm -f '.$path_to_check.'/run/test' ;
$connection = ssh2_connect('127.0.0.1', 22);
if (!$connection) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment