Changed login method from put to post
This commit is contained in:
@@ -68,7 +68,9 @@ class Router
|
||||
// Check the token
|
||||
if (Token::check($var['_token'])) {
|
||||
// Get the method
|
||||
$action = $var['_method'];
|
||||
if (isset($var['_method'])) {
|
||||
$action = $var['_method'];
|
||||
}
|
||||
} else {
|
||||
// Token invalid
|
||||
throw new \Exception("Token invalid", 498);
|
||||
|
||||
Reference in New Issue
Block a user