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

NOISSUE - Fix minimal password length #1023

Merged
merged 3 commits into from
Jan 29, 2020

Conversation

anovakovic01
Copy link
Contributor

What does this do?

Updates minimal password length to 8, and adds password length validation to the users API.

Which issue(s) does this PR fix/relate to?

There is no issue for this PR.

List any changes that modify/break current functionality

Now it's required that users use passwords that are at least 8 characters long.

Have you included tests for your changes?

I've updated an existing tests.

Did you document any new/modified functionality?

I've updated existing swagger for users service.

Increase minimum password length to 8.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
@anovakovic01 anovakovic01 requested a review from a team as a code owner January 29, 2020 12:30
@codecov-io
Copy link

Codecov Report

Merging #1023 into master will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1023      +/-   ##
==========================================
+ Coverage   79.69%   79.72%   +0.02%     
==========================================
  Files          95       95              
  Lines        6556     6564       +8     
==========================================
+ Hits         5225     5233       +8     
- Misses       1018     1019       +1     
+ Partials      313      312       -1
Impacted Files Coverage Δ
sdk/go/sdk.go 96.87% <100%> (+0.72%) ⬆️
users/api/requests.go 73.33% <100%> (ø) ⬆️
users/users.go 78.94% <100%> (+10.52%) ⬆️
sdk/go/users.go 62.79% <100%> (+1.81%) ⬆️
things/service.go 88.97% <0%> (-1.48%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bdf1326...73c1dd0. Read the comment docs.

Copy link
Contributor

@drasko drasko left a comment

Choose a reason for hiding this comment

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

LGTM

@drasko drasko merged commit 269fe89 into absmach:master Jan 29, 2020
manuio pushed a commit that referenced this pull request Oct 12, 2020
* Fix minimum password length

Increase minimum password length to 8.

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update tests with valid password length

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>

* Update minimal pass length in the docs

Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
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.

4 participants