Git Product home page Git Product logo

Comments (3)

tthorp avatar tthorp commented on June 17, 2024

disregard. it makes sense if the plugin is installed correctly.
I mistakenly uploaded the plugin directory to mu-plugins instead of the file, so the whole plugin was not being processed by wordpress.

from simpleshib.

srguglielmo avatar srguglielmo commented on June 17, 2024

Hi @tthorp,

Thanks for the ticket/feedback. That boolean is to disable all login functionality, both native WP and through Shib. The code first calls remove_all_filters('authenticate') in the construct, which removes everything related to authentication. Then, it adds authenticate_or_redirect() which becomes the only function for authentication in WordPress. That function checks if LoginsDisabled is true, and if so, just returns an error. It essentially prevents all logins from anywhere.

I initially used it as a debugging/testing type thing, but ended up keeping it in the settings just in case someone would need it. I can definitely clarify the wording in the comments though (I'll reopen this ticket until I can do that, so I won't forget). That should help any future confusion.

Thanks again for the feedback and let me know if you have any issues using the plugin!

Thanks,
Steve

from simpleshib.

srguglielmo avatar srguglielmo commented on June 17, 2024

Fixed in 33f1458

from simpleshib.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.