Browse Source

updated Config/Aauth & UserModel

v3-dev
REJack 6 years ago
parent
commit
2cf9459616
No known key found for this signature in database
GPG Key ID: 4A44B48700429F46
  1. 2
      application/Config/Aauth.php
  2. 2
      application/Models/Aauth/UserModel.php

2
application/Config/Aauth.php

@ -75,7 +75,7 @@ class Aauth extends BaseConfig
| (default: '[a-zA-Z0-9]+') | (default: '[a-zA-Z0-9]+')
*/ */
public $userVerification = false; public $userVerification = false;
public $userRegexPattern = '^[a-zA-Z0-9]+$'; public $userRegexPattern = '^[a-zA-Z0-9]{3,}$';
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

2
application/Models/Aauth/UserModel.php

@ -89,8 +89,6 @@ class UserModel extends Model
{ {
parent::__construct(); parent::__construct();
print_r($config);
if (is_null($config)) if (is_null($config))
{ {
$config = new AauthConfig(); $config = new AauthConfig();

Loading…
Cancel
Save