Expand import routine to work over command line.

This commit is contained in:
James Cole
2017-12-16 20:47:08 +01:00
parent 22535c0e43
commit 7d348f25ac
5 changed files with 61 additions and 32 deletions

View File

@@ -68,6 +68,7 @@ trait VerifiesAccessToken
}
if (!($accessToken->data === $token)) {
Log::error(sprintf('Invalid access token for user #%d.', $userId));
Log::error(sprintf('Token given is "%s", expected "%s".', $token, $accessToken->data));
return false;
}