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