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

replace hardcoded ucommrasmussen with the dynamic site url

parent bd0fc3aa
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,10 @@
if ($usecas == 'yes') {
$casObject = new elggSimpleCas();
if (!$casObject->checkCas()) {
global $CONFIG;
$ts = time();
$token = generate_action_token($ts);
SimpleCAS::setURL('http://ucommrasmussen.unl.edu/workspace/UNL_Elgg/elgg/action/login?usecas=yes&__elgg_ts='.$ts.'&__elgg_token='.$token);
SimpleCAS::setURL($CONFIG->url.'action/login?usecas=yes&__elgg_ts='.$ts.'&__elgg_token='.$token);
$casObject->forceCas();
} else {
$cas_user = $casObject->getUserCas();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment