Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

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 NULL

URLs 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:

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

Testeurs:

Reste à faire:

Tools
Browse the source of this script
Server software