2 changed files with 55 additions and 0 deletions
@ -164,6 +164,25 @@ sorry John you will be banned :( |
|||||||
```php |
```php |
||||||
$this->aauth->ban_user(3); |
$this->aauth->ban_user(3); |
||||||
``` |
``` |
||||||
|
|
||||||
|
You can check if the user exists in the database based on the user's email address |
||||||
|
|
||||||
|
```php |
||||||
|
if($this->aauth->user_exsist_by_email('[email protected]')){ |
||||||
|
//user exsist |
||||||
|
}else{ |
||||||
|
//user not exsist |
||||||
|
} |
||||||
|
``` |
||||||
|
or user id |
||||||
|
|
||||||
|
```php |
||||||
|
if($this->aauth->user_exsist_by_id(3)){ |
||||||
|
//user exsist |
||||||
|
}else{ |
||||||
|
//user not exsist |
||||||
|
} |
||||||
|
``` |
||||||
|
|
||||||
Quick Start is done but thats not the end |
Quick Start is done but thats not the end |
||||||
Take a look [detailed Documentation from wiki](https://github.com/emreakay/CodeIgniter-Aauth/wiki/_pages) |
Take a look [detailed Documentation from wiki](https://github.com/emreakay/CodeIgniter-Aauth/wiki/_pages) |
||||||
|
Loading…
Reference in new issue