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 1 commit into from Nov 16, 2020


Copy link

@colin-axner colin-axner commented Sep 25, 2020

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

@thebaer thebaer left a comment

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 writeas:develop Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.