Skip to content

Lnurl UI update #2220

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 14, 2025
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 19 additions & 4 deletions pages/settings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -861,10 +861,25 @@ function AuthMethods ({ methods, apiKeyEnabled }) {
: <div key={provider} className='mt-2'><EmailLinkForm callbackUrl='/settings' /></div>
} else if (provider === 'lightning') {
return (
<QRLinkButton
key={provider} provider={provider}
status={methods[provider]} unlink={async () => await unlink(provider)}
/>
<div key={provider} className='d-flex align-items-center'>
<QRLinkButton
key={provider} provider={provider}
status={methods[provider]} unlink={async () => await unlink(provider)}
/>
<Info className='mt-2'>
<ul>
<li>
This is an LNURL-auth. Not sure what it is? Check <a target='_blank' href='https://lightninglogin.live/learn' rel='noreferrer'>here</a>
</li>
<li>
You can unlink your wallet at any time.
</li>
<li>
<b>Tip:</b> Use a wallet that supports LNURL-auth for seamless experience. Check the list of <a target='_blank' href='https://github.com/lnurl/luds/blob/luds/README.md#lnurl-documents' rel='noreferrer'>supported wallets</a>
</li>
</ul>
</Info>
</div>
)
} else if (provider === 'nostr') {
return <NostrLinkButton key='nostr' status={methods[provider]} unlink={async () => await unlink(provider)} />
Expand Down