Skip to content
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

remove unnecessary var in account.go #389

Merged
merged 1 commit into from Nov 16, 2020
Merged

remove unnecessary var in account.go #389

merged 1 commit into from Nov 16, 2020

Conversation

colin-axner
Copy link
Contributor

createdWithPass is an unnecessary variable. The if statement that follows is unreachable since the hashed pass is set for the user and HasPass is set to true


  • I have signed the CLA

Remove createdWithPass var in account.go along with impossible if statement
Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

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

Thanks, @colin-axner! This looks good -- merging now.

@thebaer thebaer added this to the 0.13 milestone Nov 16, 2020
@thebaer thebaer merged commit d52e282 into writefreely:develop Nov 16, 2020
@colin-axner colin-axner deleted the remove-unnecessary-var branch December 6, 2020 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants