01-19-2017, 12:20 PM
a rough guess would be to change to
Can you paste your function code please.
as for url redirect I would reuse some of the code in login.php to handle a redirect if admin was accessing an admin page.
I believe this would be included in your function.
Code:
if (password_verify($password,$this->data()->password)) {
Code:
if (password_verify($password,$user->data()->password)) {
Can you paste your function code please.
as for url redirect I would reuse some of the code in login.php to handle a redirect if admin was accessing an admin page.
I believe this would be included in your function.