Fix stupid typo

This commit is contained in:
kiswa 2016-05-23 12:49:55 +00:00
parent ca1a89039e
commit 9fd81422f6

View File

@ -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) {
}