Fix stupid typo
This commit is contained in:
parent
ca1a89039e
commit
9fd81422f6
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
use RedBeanPHP\R;
|
||||
use Firebase\JWTi\JWT;
|
||||
use Firebase\JWT\JWT;
|
||||
|
||||
class Auth extends BaseController {
|
||||
|
||||
@ -13,7 +13,7 @@ class Auth extends BaseController {
|
||||
$payload = null;
|
||||
|
||||
try {
|
||||
$payload = JWT::decode($jwt, getJwtKey(), array('HS256'));
|
||||
$payload = JWT::decode($jwt, $this->getJwtKey(), array('HS256'));
|
||||
} catch (Exception $ex) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user