mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 07:34:09 +01:00
* [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:
@@ -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 = ?
|
||||
|
||||
Reference in New Issue
Block a user