ESI Nonce – how to confirm?
-
I’ve been experimenting with the ESI nonce settings on my login form, but I’m not sure how to confirm whether it’s doing anything. I still sometimes get nonce errors when logging in.
First, in the PHP for the login form, I did this:
do_action( 'litespeed_nonce', 'my_login_nonce' ); wp_nonce_field( 'logging-in', 'my_login_nonce' );
But this doesn’t seem to work – I often get an error when validating the login with wp_verify_nonce().
So now I’ve entered ‘my_login_nonce’ in the ESI config page for LSC. I’m not convinced that this is any more successful.
How can I check whether ESI is working with the nonce? Should I see anything in the HTML that shows that the nonce is being handled by ESI? Do I have to switch on the debugging output?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ESI Nonce – how to confirm?’ is closed to new replies.