Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to refresh authorization in api authorization editing #641

Closed
cbrassel opened this issue Jun 13, 2017 · 2 comments
Closed

Unable to refresh authorization in api authorization editing #641

cbrassel opened this issue Jun 13, 2017 · 2 comments

Comments

@cbrassel
Copy link

syspass.log
2017-06-13 15:55:56 - Error while querying
SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens (0)
Caller 1: SP\Storage\DB\logDBException
Caller 2: SP\Storage\DB\getQuery
Caller 3: SP\Mgmt\ApiTokens\ApiToken\refreshToken
Caller 4: SP\Controller\ItemActionController\tokenAction
Caller 5: SP\Controller\ItemActionController\doAction
2017-06-13 15:55:56 - SQL : 'UPDATE authTokens \n SET authtoken_token = ?,\n authtoken_hash = ?,\n authtoken_vault = ?,\n authtoken_pass = ?,\n authtoken_startDate = UNIX_TIMESTAMP() \n WHERE authtoken_userId = ? LIMIT 1'

any idea ?

@nuxsmin nuxsmin self-assigned this Jun 13, 2017
@nuxsmin nuxsmin added this to the 2.1 milestone Jun 13, 2017
nuxsmin added a commit that referenced this issue Jun 13, 2017
…ng an API token. Thanks to @ cbrassel for the feedback.
@nuxsmin
Copy link
Owner

nuxsmin commented Jun 13, 2017

Hi, it should be fixed in the latest commit to the master branch. Please download it from https://github.com/nuxsmin/sysPass or pull from the git repository.

@nuxsmin
Copy link
Owner

nuxsmin commented Jun 15, 2017

Fixed in latest commits.

@nuxsmin nuxsmin closed this as completed Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants