fix: Some authentication notices not displayed, injection of arbitrary strings

This commit is contained in:
Tom Moor
2023-04-11 21:54:53 -04:00
parent 3e20c437fa
commit a9800165c1
3 changed files with 38 additions and 34 deletions

View File

@@ -111,6 +111,10 @@ async function accountProvisioner({
}
}
if (err.id) {
throw err;
}
if (!result) {
throw InvalidAuthenticationError(err.message);
}