-
Notifications
You must be signed in to change notification settings - Fork 177
fix: Ensure two-factor methods are fully configured before enabling them #798
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
26 commits
Select commit
Hold shift + click to select a range
c2cd777
Specify the return types
kasparsd e547cfc
Only configured providers should be set to enabled
kasparsd cbe4754
Ensure the method is configured before storing it as enabled
kasparsd b908f44
this is now a key
kasparsd a807a58
Specify the return type
kasparsd 4460a6e
Account for the list being instances of providers
kasparsd 0bb6825
Add error tracking
kasparsd c6283a8
Relay our errors to WP core profile logic
kasparsd 7ebde70
Pass along our errors
kasparsd 93c16c4
Describe the return type
kasparsd 3badf51
Introduce our own error API
kasparsd 6a52da8
Ensure there are errors to render
kasparsd f434e31
Add an error per provider
kasparsd 2f6316d
Type inputs
kasparsd 1a7853d
Per linter
kasparsd 8d1c840
This is actually different from all others
kasparsd a5397aa
Per linter
kasparsd fdec4b0
Per linter
kasparsd 9707660
Per phpstan this is always WP_Error
kasparsd 6e94348
Merge remote-tracking branch 'origin/master' into 797-ensure-configur…
kasparsd 3bf71f0
fix: generic errors have the provider empty
kasparsd 65e28fd
fix: use only string error types, if persent
kasparsd 4f7a41c
chore: the first one is returned
kasparsd 7dde89d
Both enabled_providers and existing_providers are arrays with string …
kasparsd fb8ccb2
Merge remote-tracking branch 'origin/master' into 797-ensure-configur…
kasparsd 3c8c088
This gets populated with instances during array_intersect_key()
kasparsd 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
Oops, something went wrong.
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.