mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 22:09:16 +01:00
Refactors, bugfixing
This commit is contained in:
parent
5812618170
commit
e26d604a54
42 changed files with 370 additions and 376 deletions
|
|
@ -157,7 +157,6 @@ export default apiRoute(async (req, matchedRoute, extraData) => {
|
|||
return redirectToLogin("No user found with that account");
|
||||
}
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||
if (!flow.application) return redirectToLogin("Invalid client_id");
|
||||
|
||||
const code = randomBytes(32).toString("hex");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue