2 changed files with 22 additions and 12 deletions
@ -21,7 +21,8 @@ class Example extends CI_Controller { |
|||||||
|
|
||||||
if ($this->aauth->login('[email protected]', 'password', true)) |
if ($this->aauth->login('[email protected]', 'password', true)) |
||||||
echo 'tmm'; |
echo 'tmm'; |
||||||
|
else |
||||||
|
echo 'hyr'; |
||||||
//echo date("Y-m-d H:i:s"); |
//echo date("Y-m-d H:i:s"); |
||||||
} |
} |
||||||
|
|
||||||
@ -161,9 +162,14 @@ class Example extends CI_Controller { |
|||||||
} |
} |
||||||
|
|
||||||
function create_user() { |
function create_user() { |
||||||
$a = $this->aauth->create_user("[email protected]", "asd", "asdasd"); |
|
||||||
|
echo "as"; |
||||||
|
|
||||||
|
$a = $this->aauth->create_user("[email protected]", "asd", "asdasd11"); |
||||||
|
|
||||||
print_r($this->aauth->get_user($a)); |
print_r($this->aauth->get_user($a)); |
||||||
|
|
||||||
|
$this->aauth->print_errors(); |
||||||
} |
} |
||||||
|
|
||||||
public function is_banned() { |
public function is_banned() { |
||||||
|
Loading…
Reference in new issue