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

Fetch API token on app upload #193

Closed
janikarki opened this issue Aug 25, 2016 · 0 comments
Closed

Fetch API token on app upload #193

janikarki opened this issue Aug 25, 2016 · 0 comments

Comments

@janikarki
Copy link
Member

Currently on the app upload page the API token is fetched on page load. It should instead be fetched if and when the form is submitted. This would allow the form to function properly even if the token is regenerated between the page load and the submission.

Token fetching and form submission is done in https://github.com/nextcloud/appstore/blob/master/nextcloudappstore/core/static/assets/js/app-upload.js using functions defined in https://github.com/nextcloud/appstore/blob/master/nextcloudappstore/core/static/assets/js/utils.js.

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