• Hi,
    I get a 401 for users that are not logged in.
    Do you have any preferred recommendations about how to prevent the request for not logged in users?

    The request: ../wp-json/front-end-pm/v1/notification

    (The site does not break or anything, I just want to get rid of this error in the console).

    Thank you in advance.

    • This topic was modified 2 years, 1 month ago by sigrundish.
    • This topic was modified 2 years, 1 month ago by sigrundish.
Viewing 1 replies (of 1 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    when a user not logged in, this query does not fire. But if you are logged in but later got logged out (when browser window is open) then it continue to fire until you close.

Viewing 1 replies (of 1 total)
  • The topic ‘401 when a user is not logged in’ is closed to new replies.