-
Notifications
You must be signed in to change notification settings - Fork 8
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
Hotfix/basic auth fix #457
Conversation
'X-WP-Nonce' => wp_create_nonce( 'wp_rest' ), | ||
'Authorization' => 'None', | ||
|
||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We no longer need to pass auth.
@@ -77,9 +77,6 @@ function edac_display_welcome_page() { | |||
*/ | |||
function edac_display_options_page() { | |||
include_once plugin_dir_path( __DIR__ ) . 'partials/settings-page.php'; | |||
|
|||
// force edac_auth_type to reset in case user updates auth options. | |||
delete_transient( 'edac_auth_type' ); | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessary.
HEADERS = edacpFullSiteScanApp.edacpHeaders; | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removes setting auth headers.
}); | ||
|
||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used.
@@ -1,7 +1,5 @@ | |||
import { settings } from './settings'; | |||
import { init as initCheckPage } from './checkPage'; | |||
import { showNotice } from './../common/helpers'; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It still requires the password with every page load. Here is a screen recording.
https://www.dropbox.com/scl/fi/jmcq29ioanx0zfn73k6zi/video1714334445.mp4?rlkey=3r1el078cy6hsfk2qzjf9mgyu&dl=0
This PR: