Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'backend' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Dorschner authored and Guillaume Dorschner committed Oct 25, 2023
2 parents 0e10699 + 50bde42 commit 5b75194
Show file tree
Hide file tree
Showing 2 changed files with 242 additions and 165 deletions.
5 changes: 3 additions & 2 deletions client/src/routes/signup/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@
goto("/home");
} else {
const errorData = await response.json();
console.log("signup failed:", errorData.error);
console.log("signup failed:", errorData.message);
showAlert = true;
validationError = errorData.error || "signup failed";
validationError = errorData.message || "signup failed";
}
} catch (error) {
console.log("signup request failed:", error);
console.log(error);
showAlert = true;
validationError = "Something went wrong. Please try again later.";
}
Expand Down
Loading

0 comments on commit 5b75194

Please sign in to comment.