diff --git a/rpc/auth.js b/rpc/auth.js index 0814019..471a4e3 100644 --- a/rpc/auth.js +++ b/rpc/auth.js @@ -4,7 +4,7 @@ import { type Context } from 'koa' export default ($: AppContext) => ({ async checkAuthChallenge (ctx: Context, text: string): Promise { - const chall = await $.auth.fetchDMChallenge({ human: text }) + const chall = await $.auth.fetchDMChallenge({ human: text.toLowerCase() }) if (chall == null) { return false }