multiauth: migrated all files to the new OO API, written new API documentation
Author: Martin Langhoff <[email protected]>
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<?php // $Id$
|
||||
// No authentication at all. This method approves everything!
|
||||
|
||||
function auth_user_login ($username, $password) {
|
||||
// Returns true if the username doesn't exist yet
|
||||
// Returns true if the username and password work
|
||||
|
||||
if ($user = get_record('user', 'username', $username)) {
|
||||
return validate_internal_user_password($user, $password);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user