Skip to content

Add disable-password-checks option, Closes #983#998

Merged
kjetilk merged 1 commit into
nodeSolidServer:release/v5.0.0from
rubensworks:feature/disable-password-checks
Dec 4, 2018
Merged

Add disable-password-checks option, Closes #983#998
kjetilk merged 1 commit into
nodeSolidServer:release/v5.0.0from
rubensworks:feature/disable-password-checks

Conversation

@rubensworks

Copy link
Copy Markdown
Contributor

This makes development related to registration a lot more convenient,
and also allows users that do not need these strict checks to disable them.

@rubensworks rubensworks force-pushed the feature/disable-password-checks branch from 5961ba1 to f4dad83 Compare December 3, 2018 09:38

@megoth megoth left a comment

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.

I'm more in favor of positive variants of variable-names that holds boolean, i.e. enablePasswordChecks, as double negatives such as !disablePasswordChecks is a bit more difficult to read.

That being said, this code looks good ^_^

@rubensworks

Copy link
Copy Markdown
Contributor Author

@megoth I agree with you on that (I initially had enablePasswordChecks).

However, I inverted it because I wanted to not make this a breaking change, and keep backwards compatibility with existing config files, where no disablePasswordChecks/enablePasswordChecks entry exists yet.
So by using disablePasswordChecks, existing config files do not have to be changed when they update to 5.0.0.

@kjetilk kjetilk merged commit f6aee4f into nodeSolidServer:release/v5.0.0 Dec 4, 2018
@ghost ghost removed the in progress label Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants