From 983a5f081c468ba6d5f1e4e85a791edf6f2d4edc Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 9 Feb 2023 12:59:18 -0800 Subject: lower case usernames --- routes/lnurl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/lnurl.js') diff --git a/routes/lnurl.js b/routes/lnurl.js index 687dab6e..638c827f 100644 --- a/routes/lnurl.js +++ b/routes/lnurl.js @@ -49,7 +49,7 @@ export default { delete u.address; await s(`user:${pubkey}`, uid); - await s(`user:${username}`, uid); + await s(`user:${username.toLowerCase()}`, uid); await s(`user:${uid}`, u); await s(`balance:${uid}`, balance); -- cgit v1.2.3