New controllers and services; Auth
This commit is contained in:
parent
2fc0f9c404
commit
d17f37749d
35 changed files with 1040 additions and 164 deletions
|
|
@ -41,7 +41,7 @@ const postLogin = async (request: FastifyRequest, _reply: FastifyReply) => {
|
|||
|
||||
if (!session) {
|
||||
return {
|
||||
ownerId: "",
|
||||
username: username,
|
||||
error: "incorrect credentials",
|
||||
} as ILoginResponseError;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue