forked from mrlan/LRR
Merge pull request 'Add the student ID to session variables when a student signs up' (#25) from bug312-Golden into master
Reviewed-on: http://121.4.94.30:3000/mrlan/LRR/pulls/25Bug200-Ward
commit
efb2f68472
|
@ -75,6 +75,7 @@ if (!empty($_POST["frm_signup_2"])) {
|
||||||
$_SESSION['user_fullname'] = $fullname;
|
$_SESSION['user_fullname'] = $fullname;
|
||||||
$_SESSION['user_type'] = "Student";
|
$_SESSION['user_type'] = "Student";
|
||||||
$_SESSION['user_email'] = $email;
|
$_SESSION['user_email'] = $email;
|
||||||
|
$_SESSION['user_student_id'] = $student_id;
|
||||||
|
|
||||||
// check confirmed password
|
// check confirmed password
|
||||||
if (strcasecmp($password, $confirmpassword) != 0) {
|
if (strcasecmp($password, $confirmpassword) != 0) {
|
||||||
|
|
Loading…
Reference in New Issue