-
Notifications
You must be signed in to change notification settings - Fork 166
LG-12788: compare passwords compromised #10392
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
414729a
create job
mdiarra3 d03e751
changelog: Upcoming Features, Auth, Migration for password compromise…
mdiarra3 3100c3f
Merge remote-tracking branch 'origin/LG-12788-migration' into LG-1278…
mdiarra3 85d9c35
Merge remote-tracking branch 'origin/main' into LG-12788-compare-pass…
mdiarra3 d0eca40
job
mdiarra3 0ba0b30
Merge remote-tracking branch 'origin/main' into LG-12788-compare-pass…
mdiarra3 030714a
add query for user
mdiarra3 c3b8998
test change
mdiarra3 fd2346a
changelog: Upcoming Features, notify random amount of users that thei…
mdiarra3 d34d056
Merge remote-tracking branch 'origin/main' into LG-12788-compare-pass…
mdiarra3 3dd6535
sessions controller
mdiarra3 58f00c3
changelog: Upcoming Features, authentication, look up if user comprom…
mdiarra3 da50886
LG-12788: check password compromised
mdiarra3 89081e1
Merge remote-tracking branch 'origin/main' into LG-12788-migration
mdiarra3 1425996
fix schema from merge conflict
mdiarra3 c90573e
address comments
mdiarra3 c8029ec
deal with lint
mdiarra3 9f2271f
rubocop
mdiarra3 e2460fd
fix analytic event
mdiarra3 6d5ed63
reword migration to follow naming convention
mdiarra3 dabefb4
Merge remote-tracking branch 'origin/LG-12788-migration' into LG-1278…
mdiarra3 9f4b87d
rename to address migration change
mdiarra3 c49b984
remove question mark
mdiarra3 67c25f6
update default value
mdiarra3 559a9cb
Merge remote-tracking branch 'origin/main' into LG-12788-migration
mdiarra3 a298e37
Merge remote-tracking branch 'origin/main' into LG-12788-migration
mdiarra3 5016297
reshake migration
mdiarra3 45f7814
Merge remote-tracking branch 'origin/LG-12788-migration' into LG-1278…
mdiarra3 1f6e601
Merge remote-tracking branch 'origin/main' into LG-12788-migration
mdiarra3 8397bf1
Merge remote-tracking branch 'origin/LG-12788-migration' into LG-1278…
mdiarra3 431a0b4
address comments
mdiarra3 28b6b61
Merge remote-tracking branch 'origin/main' into LG-12788-compare-pass…
mdiarra3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # frozen_string_literal: true | ||
|
|
||
| module Users | ||
| class PasswordCompromisedController < ApplicationController | ||
| before_action :confirm_two_factor_authenticated | ||
| before_action :verify_feature_toggle_on | ||
|
|
||
| def show | ||
| session.delete(:redirect_to_password_compromised) | ||
| @after_sign_in_path = after_sign_in_path_for(current_user) | ||
| analytics.user_password_compromised_visited | ||
| end | ||
|
|
||
| def verify_feature_toggle_on | ||
| redirect_to after_sign_in_path_for(current_user) unless | ||
| FeatureManagement.check_password_enabled? | ||
| end | ||
| end | ||
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| <%= render( | ||
| 'idv/shared/error', | ||
| heading: 'Password Compromised', | ||
| ) do %> | ||
| <p> | ||
| PASSWORD COMPROMISED | ||
| </p> | ||
| <% end %> | ||
|
|
||
| <div class="col-12"> | ||
| <%= link_to( | ||
| @after_sign_in_path, | ||
| class: 'usa-button usa-button--wide usa-button--big margin-bottom-3', | ||
| ) { 'SKIP' } %> | ||
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.