Skip to content

chore: check password before node start#1560

Merged
rolznz merged 1 commit intogetAlby:masterfrom
matjaz:check_password
Aug 4, 2025
Merged

chore: check password before node start#1560
rolznz merged 1 commit intogetAlby:masterfrom
matjaz:check_password

Conversation

@matjaz
Copy link
Copy Markdown
Contributor

@matjaz matjaz commented Aug 1, 2025

No description provided.

})
}

if !httpSvc.cfg.CheckUnlockPassword(startRequest.UnlockPassword) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internally it also checks, is this to return a better error message?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, instant feedback + no need to call node start

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: we could do the same with the Wails version. But I don't think it's that important.

Thanks!

Copy link
Copy Markdown
Contributor

@rolznz rolznz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@rolznz rolznz merged commit b8bf932 into getAlby:master Aug 4, 2025
7 of 10 checks passed
@matjaz matjaz deleted the check_password branch August 4, 2025 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants