Skip to content

Cannot set lightning redirect #49

@ibz

Description

@ibz

Describe the bug

Trying to set a lightning redirect results an error: Error updating Lightning address: Authorization header not found

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings
  2. Check "LN redirect"
  3. Set an address
  4. Click "Save"
  5. An error occurs

Additional context

Upon investigation, it seems that updateLightningAddress in lightningaddress.ts expects the Authorization header to be there, but updateLnRedirect in userSettings.ejs never sets the header.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions