fix invalid token
This commit is contained in:
@@ -85,12 +85,12 @@ class UserModel extends Model
|
||||
}
|
||||
|
||||
/**
|
||||
* Get unverified users created more than 2 minutes ago.
|
||||
* Get unverified users created more than 15 minutes ago.
|
||||
*/
|
||||
public function getUnverifiedUsers()
|
||||
{
|
||||
return $this->where('is_verified', 0)
|
||||
->where('created_at <', date('Y-m-d H:i:s', time() - 120))
|
||||
->where('created_at <', date('Y-m-d H:i:s', time() - 15 * 60))
|
||||
->findAll();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user