Skip to content

Commit

Permalink
verification email sending disabled if a admin is creating a user
Browse files Browse the repository at this point in the history
  • Loading branch information
REJack committed May 1, 2016
1 parent 4675b2f commit 0ba3a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ public function create_user($email, $pass, $name = FALSE) {
$this->add_member($user_id, $this->config_vars['default_group']);

// if verification activated
if($this->config_vars['verification']){
if($this->config_vars['verification'] && !$this->is_admin()){
$data = null;
$data['banned'] = 1;

Expand Down

0 comments on commit 0ba3a8e

Please sign in to comment.