mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Only allow 'full' users
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/alt_auth/e107db_auth.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/alt_auth/e107db_auth.php,v $
|
||||||
| $Revision: 1.3 $
|
| $Revision: 1.4 $
|
||||||
| $Date: 2009-07-05 18:47:52 $
|
| $Date: 2009-10-27 20:46:27 $
|
||||||
| $Author: e107steved $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
@@ -95,7 +95,7 @@ class auth_login
|
|||||||
|
|
||||||
|
|
||||||
//Get record containing supplied login name
|
//Get record containing supplied login name
|
||||||
$qry = "SELECT ".implode(',',$sel_fields)." FROM ".$this->conf['e107db_prefix']."user WHERE {$user_field} = '{$uname}'";
|
$qry = "SELECT ".implode(',',$sel_fields)." FROM ".$this->conf['e107db_prefix']."user WHERE {$user_field} = '{$uname}' AND `user_ban` = 0";
|
||||||
// echo "Query: {$qry}<br />";
|
// echo "Query: {$qry}<br />";
|
||||||
if(!$r1 = mysql_query($qry))
|
if(!$r1 = mysql_query($qry))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user