* [MOD] Improved API auth security. There is no need to provide the user's password, it will ask for a token password when generating it.

This commit is contained in:
nuxsmin
2017-02-23 11:43:44 +01:00
parent adb891687d
commit 85aefbf42d

View File

@@ -383,8 +383,7 @@ class ApiToken extends ApiTokenBase implements ItemInterface
{
$query = /** @lang SQL */
'SELECT authtoken_userId,
authtoken_key,
authtoken_pass,
authtoken_vault,
authtoken_hash
FROM authTokens
WHERE authtoken_actionId = ?