Home « Server software «
Documentation: users/login.php
users/login.php - Authenticate a surfer
If the provided user name is not known locally, and if this name includes a server name, this script will attempt to submit credentials to the mentioned server through a XML-RPC call using the following syntax:drupal.login(name, password) returns user_id or NULLURLs used for this call are
/yacs/services/xml_rpc.php and then
/xml.rpc.php. These successive tests are aiming to let the solution
work between YACS servers, and to make it compatible with Drupal authentication service.See
Users::login() in users/users.php.Following information is displayed on successful login:
* User's avatar, if one exists
* Time offset, as observed by some javascript code on the workstation
* Recorded IP address
* Date of previous login
* List of on-going actions, if any. See actions/index.php for more information on actions.
* Shortcuts are displayed in the extra section to streamline navigation and contribution efforts.
This script may be called from anywhere either to login or to logout:
- users/login.php -- show the login form or process POSTed arguments
- users/login.php?url=... -- the same, with a URL to be used on success
This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com
- GnapZ
Testeurs:
- GnapZ
- Pierre Robert
- Antoine Bour
Reste à faire:
- uses https if required
- add ldap server to validate login/password