summaryrefslogtreecommitdiffstats
path: root/modules/casserver/www/proxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/casserver/www/proxy.php')
-rw-r--r--modules/casserver/www/proxy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/casserver/www/proxy.php b/modules/casserver/www/proxy.php
index 7b88e41..6fc14e4 100644
--- a/modules/casserver/www/proxy.php
+++ b/modules/casserver/www/proxy.php
@@ -26,7 +26,7 @@ $path = $casconfig->resolvePath($casconfig->getValue('ticketcache', 'ticketcache
$ticket = retrieveTicket($pgt, $path, false);
if ($ticket['validbefore'] > time()) {
- $pt = str_replace( '_', 'PT-', SimpleSAML_Utilities::generateID() );
+ $pt = str_replace( '_', 'PT-', SimpleSAML\Utils\Random::generateID() );
storeTicket($pt, $path, array(
'service' => $targetService,
'forceAuthn' => false,