Small tweak to the default template.
[elgg.git] / auth / internal / lib.php
blobdd3f45d627171c25188edc1c8f642ccbc5d2262e
1 <?php
2 // this is internal or default authentication
3 function authenticate_user_login($username,$password) {
5 return get_record_select('users',"username = ? AND password = ? AND active = ? AND user_type = ? ",
6 array($username,$password,'yes','person'));
9 ?>