inloggen op school
$_POST['username'],
'password' => $_POST[ 'password'],
'xml' => 'true',
);
$status = Post('https://mijnid.vandale.nl/sso-server/user/processLogin.do', $data);
$response = simplexml_load_string(Post('https://mijnid.vandale.nl/sso-server/user/processLogin.do', $data));
}
if(strpos($status, 'nok ')) $message = 'Gebruikersnaam of wachtwoord onjuist';
if(strpos($status, 'ok ')) {
$user = array('username' => $_POST['username'], 'password' => $_POST['password']);
setcookie('activation', serialize($user) , time() + 3600 * 24 * 180);
if (!empty($_POST['activationCode'])) {
$options = array('token_key' => (string) $response->{'crowd.token_key'}, 'activationCode' => $_POST['activationCode']);
drupal_goto('activeren', $options);
}
if (!empty($_POST['activationCode'])) {
$options = array('token_key' => (string) $response->{'crowd.token_key'}, 'activationCode' => $_POST['activationCode']);
drupal_goto('activeren', $options);
}
}
?>
Log in met je gebruikersaccount.
Heb je nog geen gebruikersaccount? Klik hier om je aan te melden en een nieuw gebruikersaccount aan te maken.