hedgedoc/frontend
Erik Michelson 055d2b6c5b fix(login): prevent default for new user confirmation form event
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>
2025-02-19 19:20:05 +01:00
..
.netlify
cypress fix(media): Show an specific error message when file is too big 2024-11-11 16:05:49 +01:00
docker chore(deps): pin node.js (develop) () 2025-02-01 21:16:06 +00:00
global-styles feat(frontend): Correctly align todo list checkbox 2025-01-10 21:40:25 +01:00
locales feat(frontend): add basic print functionality 2024-12-05 00:14:23 +01:00
public feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
src fix(login): prevent default for new user confirmation form event 2025-02-19 19:20:05 +01:00
.editorconfig chore: fix and reformat editorconfig 2023-04-24 13:39:33 +02:00
.env fix: add .env file symlinks 2023-04-13 10:39:17 +02:00
.env.test
.env.test.license
.eslintrc.js
.gitignore
.prettierignore
.prettierignore.license
.prettierrc.json
.prettierrc.json.license
build.sh fix(frontend): delete mock public directory only for production 2023-10-24 13:49:12 +02:00
CHANGELOG.md fix(media): Show an specific error message when file is too big 2024-11-11 16:05:49 +01:00
CONTRIBUTING.md
cypress.config.ts
jest.config.ts chore(deps): upgrade orama to 3.0.1 2024-11-12 20:58:09 +01:00
next-env.d.ts chore(deps): upgrade dependencies for frontend + lint fixes 2024-11-01 17:31:27 +01:00
next-env.d.ts.license
next.config.js fix(frontend): build messages 2024-09-01 17:57:45 +02:00
package.json fix(deps): update nextjs monorepo to v14.2.23 (develop) (patch) () 2025-02-04 09:39:05 +00:00
package.json.license
tsconfig.json feat: migrate frontend app to nextjs app router 2023-09-03 22:00:34 +02:00
tsconfig.json.license