LiveWhale CMS

Welcome, Guest Login

Support Center

Our documentation is moving:

Please check for the most up-to-date LiveWhale CMS and LiveWhale Calendar documentation. The below legacy documentation will remain available as a reference until the documentation migration is complete.

How do I create a login plugin?

Last Updated: Jun 25, 2014 08:37AM PDT

LiveWhale supports built-in password management, LDAP, and SSO out of the box. View the authentication configuration documentation to learn how to add your authentication.

To create your own login plugin:

  1. Create the following directory in your client modules directory: /livewhale/client/modules/login/includes/plugins
  2. In the directory above, add your own plugin  (ie., my_plugin.php)
  3. Once you've created your login plugin and want to use it for LiveWhale authentication, edit your master config file, /livewhale/config.php, and set LOGIN_MODE to the name of your plugin ("my_plugin")
  4. The format for your plugin is as follows:
 //the filename and class name should match
  class LiveWhaleLoginMyPlugin{
     public function login($username, $password){
        //Add your custom code to perform your authentication
        //return true or false, according to whether the user authenticates


Additional Resources
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found