|
|
@ -127,6 +127,11 @@ fastify.post('/login', async (request, reply) => { |
|
|
why: "Wrong username or password" |
|
|
why: "Wrong username or password" |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} else { |
|
|
|
|
|
return { |
|
|
|
|
|
success: false, |
|
|
|
|
|
why: "Wrong username or password" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
return { |
|
|
return { |
|
|
|