show error on password page

This commit is contained in:
Max Peintner
2023-05-22 16:28:47 +02:00
parent a02dcd4d5b
commit b27c8af65f
8 changed files with 71 additions and 65 deletions

View File

@@ -34,7 +34,7 @@ export default function UsernameForm() {
if (!res.ok) {
setLoading(false);
throw new Error("Failed to register user");
throw new Error("Failed to set user");
}
setLoading(false);