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)) |
||||
echo 'tmm'; |
||||
|
||||
else |
||||
echo 'hyr'; |
||||
//echo date("Y-m-d H:i:s"); |
||||
} |
||||
|
||||
@ -161,9 +162,14 @@ class Example extends CI_Controller {
|
||||
} |
||||
|
||||
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)); |
||||
|
||||
$this->aauth->print_errors(); |
||||
} |
||||
|
||||
public function is_banned() { |
||||
|
Loading…
Reference in new issue