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

MF-1006 - Password recovery endpoint is not working #1007

Merged
merged 1 commit into from
Jan 16, 2020

Conversation

dborovcanin
Copy link
Collaborator

What does this do?

This pull request fixes password recovery.

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

Fixes #1006.

List any changes that modify/break current functionality

There are no such changes.

Have you included tests for your changes?

Yes.

Did you document any new/modified functionality?

Yes.

Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
@dborovcanin dborovcanin requested a review from a team as a code owner January 16, 2020 17:33
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

@codecov-io
Copy link

Codecov Report

Merging #1007 into master will increase coverage by 0.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1007      +/-   ##
==========================================
+ Coverage   79.75%   79.77%   +0.01%     
==========================================
  Files          95       95              
  Lines        6551     6545       -6     
==========================================
- Hits         5225     5221       -4     
  Misses       1012     1012              
+ Partials      314      312       -2
Impacted Files Coverage Δ
users/service.go 86.2% <0%> (ø) ⬆️
users/api/transport.go 82.51% <0%> (-1.18%) ⬇️
authn/service.go 79.48% <100%> (+0.41%) ⬆️
authn/api/grpc/requests.go 87.5% <0%> (+12.5%) ⬆️

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 8475e87...80d367d. Read the comment docs.

@drasko drasko merged commit c4fa27f into absmach:master Jan 16, 2020
issuerName = "mainflux.authn"
loginDuration = 10 * time.Hour
recoveryDuration = 5 * time.Minute
issuerName = "mainflux.authn"
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we use this as default values and provide env variables? IMHO 5min is to short for recovery token, I would set at least 15+ min

manuio pushed a commit that referenced this pull request Oct 12, 2020
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
@dborovcanin dborovcanin deleted the MF-1006 branch February 17, 2021 09:08
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.

Password recovery endpoint is not working
5 participants