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

Add RecoveryCode endpoint #151

Merged
merged 4 commits into from
Jan 8, 2020
Merged

Conversation

harture
Copy link
Contributor

@harture harture commented Jan 7, 2020

No description provided.

@coveralls
Copy link

coveralls commented Jan 7, 2020

Pull Request Test Coverage Report for Build 1444

  • 24 of 24 (100.0%) changed or added relevant lines in 3 files are covered.
  • 14 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.08%) to 91.364%

Files with Coverage Reduction New Missed Lines %
pkg/management/component.go 5 99.29%
pkg/statistics/component.go 9 71.9%
Totals Coverage Status
Change from base Build 1425: 0.08%
Covered Lines: 3290
Relevant Lines: 3601

💛 - Coveralls

Gopkg.toml Outdated
#version = "v1.2.1"
branch="CLOUDTRUST-2147_RecoveryModeAPI"
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't forget to revert this before merging

}

// store the API call into the DB
c.reportEvent(ctx, "RECOVERY_CODE", database.CtEventRealmName, realmName, database.CtEventUserID, userID)
Copy link
Contributor

Choose a reason for hiding this comment

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

CREATE_RECOVERY_CODE ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.
Also renamed the methods with CreateRecoveryCode everywhere

@harture harture merged commit 774abf3 into master Jan 8, 2020
@fperot74 fperot74 deleted the CLOUDTRUST-2147_RecoveryMechanism branch January 6, 2021 13:06
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.

None yet

3 participants