cookie and ob; domain config
This commit is contained in:
@@ -22,6 +22,7 @@ if (isset($_POST['action'])) {
|
||||
}
|
||||
break;
|
||||
case 'login':
|
||||
//var_dump($_REQUEST['page']);
|
||||
# login
|
||||
/*
|
||||
USER TYPES: 1 - coach, 2 - kid, 3 - parent
|
||||
@@ -58,18 +59,6 @@ if (isset($_POST['action'])) {
|
||||
log::register('coach_login', $user_coach_id, null, $user_coach_id);
|
||||
header("Location: " . $actual_link);
|
||||
}
|
||||
elseif ($user_camp_id) {
|
||||
//sikeres bejelentkezés szülőként
|
||||
$login->login_user($user_camp_id, 'badminton_camp_user', 4);
|
||||
log::register('camp_user_login', $user_camp_id, null, $user_camp_id);
|
||||
header("Location: " . $actual_link);
|
||||
}
|
||||
elseif ($user_camp_leader_id) {
|
||||
//sikeres bejelentkezés szülőként
|
||||
$login->login_user($user_camp_leader_id, 'badminton_camp_leader', 5);
|
||||
log::register('camp_leader_login', $user_camp_leader_id, null, $user_camp_leader_id);
|
||||
header("Location: " . $actual_link);
|
||||
}
|
||||
else {
|
||||
//die($user_coach_id);
|
||||
//sikertelen bejelentkezés
|
||||
|
||||
Reference in New Issue
Block a user