Browse Source

moved user_exsist_by_name out of the IF

develop
Raphael Jackstadt 10 years ago
parent
commit
11bd0dcd49
  1. 8
      application/libraries/Aauth.php

8
application/libraries/Aauth.php

@ -602,10 +602,10 @@ class Aauth {
$this->error($this->CI->lang->line('aauth_error_username_required'));
$valid = FALSE;
}
if ($this->user_exsist_by_name($name)) {
$this->error($this->CI->lang->line('aauth_error_username_exists'));
$valid = FALSE;
}
}
if ($this->user_exsist_by_name($name)) {
$this->error($this->CI->lang->line('aauth_error_username_exists'));
$valid = FALSE;
}
if ($this->user_exsist_by_email($email)) {
$this->error($this->CI->lang->line('aauth_error_email_exists'));

Loading…
Cancel
Save