Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/lib/authlib.php

    r136 r1331  
    117117        'phone1',
    118118        'phone2',
    119         'address'
     119        'address',
     120        'firstnamephonetic',
     121        'lastnamephonetic',
     122        'middlename',
     123        'alternatename'
    120124    );
    121125
     
    210214
    211215    /**
     216     * Returns false if this plugin is enabled but not configured.
     217     *
     218     * @return bool
     219     */
     220    public function is_configured() {
     221        return false;
     222    }
     223
     224    /**
    212225     * Indicates if password hashes should be stored in local moodle database.
    213226     * @return bool true means md5 password hash stored in user table, false means flag 'not_cached' stored there instead
     
    430443
    431444        //override if needed
     445    }
     446
     447    /**
     448     * Hook for overriding behaviour before going to the login page.
     449     *
     450     * This method is called from require_login from potentially any page for
     451     * all enabled auth plugins and gives each plugin a chance to redirect
     452     * directly to an external login page, or to instantly login a user where
     453     * possible.
     454     *
     455     * If an auth plugin implements this hook, it must not rely on ONLY this
     456     * hook in order to work, as there are many ways a user can browse directly
     457     * to the standard login page. As a general rule in this case you should
     458     * also implement the loginpage_hook as well.
     459     *
     460     */
     461    function pre_loginpage_hook() {
     462        // override if needed, eg by redirecting to an external login page
     463        // or logging in a user:
     464        // complete_user_login($user);
    432465    }
    433466
     
    504537
    505538    /**
    506      * Returns whether or not the captcha element is enabled, and the admin settings fulfil its requirements.
     539     * Returns whether or not the captcha element is enabled.
    507540     *
    508541     * @abstract Implement in child classes
Note: See TracChangeset for help on using the changeset viewer.