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

Token admin fix #5891

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

SchrodingersGat
Copy link
Member

Fixes bug when creating a new API token for a user via the admin interface.

The token would be generated twice, meaning that the one that you copy (while it is not yet redacted) is different to the value that gets saved into the database.

- Add 'key' when initially creating
- Stops key from being created twice
Copy link

netlify bot commented Nov 9, 2023

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 837c93a
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/654c2a918a4cef0008e2a91d

@SchrodingersGat SchrodingersGat added the bug Identifies a bug which needs to be addressed label Nov 9, 2023
@SchrodingersGat SchrodingersGat added this to the 0.13.0 milestone Nov 9, 2023
@SchrodingersGat SchrodingersGat merged commit 0597ea9 into inventree:master Nov 9, 2023
25 checks passed
@SchrodingersGat SchrodingersGat deleted the token-admin-fix branch November 9, 2023 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Identifies a bug which needs to be addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant