Quote:
Originally Posted by falko
You can use password-based SSH logins without these fields - they are needed only for key-based logins.
|
I did not understand, I do not know the key-based logins and password-based SSH logins
I have an other problem, i try to add a user
PHP Code:
$username = $_POST['username'];
$password = crypt($_POST['password']);
$query=$db->prepare('INSERT INTO client(username, password)
VALUES (:username, :password)');
$query->bindValue(':username', $username, PDO::PARAM_STR);
$query->bindValue(':password', $password, PDO::PARAM_STR);
if($query->execute()){echo 'yes';}
$query->CloseCursor();
The user is created in the DB but i can't use it for connection, i have this message when i try to login in ISPC :
ERROR
Error
Username or Password wrong.
I think that there are a problem with the password hashing, we must use cryt, no ?
EDIT :Even if i change the password from my admin account i cannot connect….
For information, i have give in the DB ONLY the username and the password
Recent comments
1 day 22 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 5 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 6 hours ago