diff --git a/api/functions/get-login-url/get-login-url.js b/api/functions/get-login-url/get-login-url.js index f2f011b..1df402c 100644 --- a/api/functions/get-login-url/get-login-url.js +++ b/api/functions/get-login-url/get-login-url.js @@ -45,7 +45,6 @@ const getLoginUrl = async (req, res) => { .status(200) .json({ ...data, session_token }); } catch (error) { - console.log(error); res.status(500).send("Unexpected error happened, please try again") } diff --git a/api/functions/is-logged-in/is-logged-in.js b/api/functions/is-logged-in/is-logged-in.js index 6a71d49..3eeb574 100644 --- a/api/functions/is-logged-in/is-logged-in.js +++ b/api/functions/is-logged-in/is-logged-in.js @@ -15,7 +15,6 @@ const isLoggedInHandler = async (req, res) => { algorithms: ['HS256'], }); const hash = payload.hash; - console.log(hash); const authToken = await lnurlAuthService.getAuthTokenByHash(hash); if (!authToken) throw new Error("Not logged in yet") diff --git a/api/functions/login/login.js b/api/functions/login/login.js index 9249468..7dcdbf2 100644 --- a/api/functions/login/login.js +++ b/api/functions/login/login.js @@ -22,8 +22,6 @@ const loginHandler = async (req, res) => { try { await LnurlAuthService.verifySig(sig, k1, key) } catch (error) { - console.log(sig, k1, key); - console.log(error); return res.status(400).json({ status: 'ERROR', reason: 'Invalid Signature' }) } @@ -108,7 +106,6 @@ const loginHandler = async (req, res) => { return res.status(200).json({ status: "OK" }) } catch (error) { - console.log(error); return res.status(400).json({ status: 'ERROR', reason: 'Unexpected error happened, please try again' }) } }