API/functions/bb check login

From bbPulp

Jump to: navigation, search
Function
bb_check_login
File: /bb-includes/pluggable.php
Class: none
Pluggable: yes
Introduced: revision 335
Deprecated: no

[edit] Description

mixed bb_check_login ( string $user, string $pass[, boolean $already_md5 = false] )

Checks whether a given user and password combination exists in the user table.

[edit] Parameters

user
The user login to check.
pass
The user pass to check.
already_md5
Whether the "pass" parameter is already an MD5 hash or not, defaults to false.

[edit] Return values

On success, returns an object containing the users data. On failure, returns false.

[edit] Plugins that redefine this function

  • HTTP authentication for bbPress
  • LDAP authentication for bbPress


Personal tools