Fix variable name in token validation and add login template
This commit is contained in:
1 parent
6b5a299079
commit
c94122c9fd
3 files changed
+60
-2
No files matched your search
+2
-2
@@ -88,7 +88,7 @@ class gbAPI {
|
||||
|
||||
$given_string = explode(".", $given);
|
||||
|
||||
if (count($parts) !== 2) {
|
||||
if (count($given_string) !== 2) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ class gbAPI {
|
||||
|
||||
$given_string = explode(".", $given);
|
||||
|
||||
if (count($parts) !== 2) {
|
||||
if (count($given_string) !== 2) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user