fix email for
- registration request - registration approval - account created by admin add a reditect after registration approval or deny
This commit is contained in:
parent
bec92bf22e
commit
7687342849
4 changed files with 11 additions and 13 deletions
|
@ -48,8 +48,6 @@ function register_post(&$a) {
|
|||
}
|
||||
|
||||
|
||||
require_once('include/user.php');
|
||||
|
||||
$arr = $_POST;
|
||||
|
||||
$arr['blocked'] = $blocked;
|
||||
|
@ -140,7 +138,7 @@ function register_post(&$a) {
|
|||
'source_link' => $a->get_baseurl()."/admin/users/",
|
||||
'link' => $a->get_baseurl()."/admin/users/",
|
||||
'source_photo' => $a->get_baseurl() . "/photo/avatar/".$user['uid'].".jpg",
|
||||
'to_email' => $admin['mail'],
|
||||
'to_email' => $admin['email'],
|
||||
'uid' => $admin['uid'],
|
||||
'language' => ($admin['language']?$admin['language']:'en'))
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue