<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>21</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>25</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>37</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>41</b><br />
<br />
<b>Warning</b>: password_hash() expects at least 2 parameters, 1 given in <b>C:\xampp\AH\api\modules\users\module.php</b> on line <b>352</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>21</b><br />
<br />
<b>Notice</b>: Undefined variable: key in <b>C:\xampp\AH\api\modules\crypto\crypto.php</b> on line <b>25</b><br />
Sin embargo crea el usuario y el Session Key.
en cada función de api\modules\crypto\crypto.php.
<b>Warning</b>: password_hash() expects at least 2 parameters, 1 given in <b>C:\xampp\AH\api\modules\users\module.php</b> on line <b>352</b><br />
Revisando en la documentación, el segundo parámetro es por defecto PASSWORD_DEFAULT. Lo uso y me genera un Session Key bastante largo, pero funciona.
Lo que si da problemas es que a veces contiene un + y a la hora de hacer logout no lo interpreta bien y le pone un espacio y por eso el query no devuelve la sesión.