[add] Endpoints to handle sessions

This commit is contained in:
2018-08-05 20:06:43 -06:00
parent d7be1f1d9c
commit 816b1e356a
3 changed files with 81 additions and 31 deletions

View File

@@ -80,7 +80,7 @@ class CryptographyService{
*
* @param $plainPassword string
* @param $encryptedPassword string
* @return boolean
* @return bool
*/
function decryptPassword($plainPassword, $encryptedPassword) {
return password_verify($plainPassword, $encryptedPassword);