Skip to content

Commit

Permalink
Lowercase Whitelist Addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed May 29, 2022
1 parent 028d7d8 commit f0e5349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const LoginRoute: FastifyPluginAsync = async (router, options) => {
log.debug({ address: request.params.address });

const user = await DB.selectOneFrom('owners', ['user_id'], {
address: request.params.address,
address: request.params.address.toLowerCase(),
});

reply.send({
Expand Down

0 comments on commit f0e5349

Please sign in to comment.