protected function purify(string $string) : string {
return trim(htmlspecialchars(addslashes($string)));
}
$user = mysqli_fetch_assoc(
mysqli_query($this -> db -> connect(),
"SELECT `password` FROM `users` WHERE `login` = '$login' LIMIT 1;"
)
);