mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-31 12:14:30 +01:00
remove logs
This commit is contained in:
@@ -55,7 +55,6 @@ const loginHandler = async (req, res) => {
|
||||
.json({ status: "OK" })
|
||||
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
return res.status(400).json({ status: 'ERROR', reason: 'Invalid User Token' })
|
||||
}
|
||||
}
|
||||
@@ -127,7 +126,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' })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ export default function LoginPage() {
|
||||
Scan this code or copy + paste it to your lightning wallet. Or click to login with your browser's wallet.
|
||||
</p>
|
||||
<div className="w-full flex flex-col items-stretch gap-16">
|
||||
<a href={lnurl}
|
||||
<a href={`lightning:${lnurl}`}
|
||||
className='grow block text-body4 text-center text-white font-bolder bg-primary-500 hover:bg-primary-600 rounded-10 px-16 py-12 active:scale-90 transition-transform'
|
||||
>Click to connect <IoRocketOutline /></a>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user