Skip to content
Snippets Groups Projects
Commit fa73c566 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

work on getemail page that appears during first time CAS sign in. changes...

work on getemail page that appears during first time CAS sign in.  changes include: moving files arround into the correct elgg structure, adding tokens to the action calls
parent 268cb93c
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,9 @@
$form_body = "<p>";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('UNL Login'))) . "</p>";
$form_body .= "<p><a href=\"https://login.unl.edu/faq/account-resetpw.shtml\">" . elgg_echo('Forgot your my.UNL password?') . "</a></p>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."?loginwith=UNLlogin"));
$ts = time();
$token = generate_action_token($ts);
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login?usecas=yes&__elgg_ts=$ts&__elgg_token=$token"));
?>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment