mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 07:59:56 -04:00
![]() The new user form which is shown when a new user logs in via an external auth provider did not include the event.preventDefault() statement. This meant that on submitting the form there was a race-condition between the JS code sending the data to the API and the browser reloading the page. Chromium-based browsers seem to handle events before handling page navigation, and because the form event initiates a page navigation on a successful API response it worked. Firefox seems to call the event handler and the page navigation in parallel, resulting in a loop on the new user form. Signed-off-by: Erik Michelson <github@erik.michelson.eu> |
||
---|---|---|
.. | ||
.netlify | ||
cypress | ||
docker | ||
global-styles | ||
locales | ||
public | ||
src | ||
.editorconfig | ||
.env | ||
.env.test | ||
.env.test.license | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierignore.license | ||
.prettierrc.json | ||
.prettierrc.json.license | ||
build.sh | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
cypress.config.ts | ||
jest.config.ts | ||
next-env.d.ts | ||
next-env.d.ts.license | ||
next.config.js | ||
package.json | ||
package.json.license | ||
tsconfig.json | ||
tsconfig.json.license |