test_no_email.php 413 B

1234567891011121314151617181920
  1. <?php
  2. namespace Shibboleth;
  3. /**
  4. * @license see /license.txt
  5. * @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
  6. */
  7. include_once __DIR__.'/../init.php';
  8. if (!ShibbolethTest::is_enabled())
  9. {
  10. echo 'This is not a test server';
  11. die;
  12. }
  13. Shibboleth::session()->logout();
  14. ShibbolethTest::helper()->setup_new_student_no_email();
  15. require_once __DIR__.'/../login.php';