Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.382 kb
<?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 ($user->password == md5($password));
}
return true;
}
?>
Jump to Line
Something went wrong with that request. Please try again.