Browse Source

fix CAS

master
AmarOk 10 years ago
parent
commit
426e8a3331
No known key found for this signature in database GPG Key ID: C894BB01EEB2A9A9
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      addEvent.php

+ 2
- 3
addEvent.php View File

@ -1,11 +1,10 @@
<?php
/** /
require_once('./CAS-1.3.4/CAS.php');
phpCAS::client(CAS_VERSION_2_0, 'sso-cas.univ-rennes1.fr', 443, '', false);
phpCAS::proxy(CAS_VERSION_2_0, 'sso-cas.univ-rennes1.fr', 443, '');
phpCAS::setNoCasServerValidation();
phpCAS::forceAuthentication();
$uid = phpCAS::getUser();
/**/
include_once('databaseOperations.php');
include('datetimeOperations.php');


Loading…
Cancel
Save