1
0
Fork 0

fix email for

- registration request
- registration approval
- account created by admin

add a reditect after registration approval or deny
This commit is contained in:
fabrixxm 2014-09-09 22:07:47 +02:00
commit 7687342849
4 changed files with 11 additions and 13 deletions

View file

@ -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'))
);