upgrade
This commit is contained in:
20
main/auth/shibboleth/test/test_no_email.php
Normal file
20
main/auth/shibboleth/test/test_no_email.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Shibboleth;
|
||||
|
||||
/**
|
||||
* @license see /license.txt
|
||||
* @author Laurent Opprecht <laurent@opprecht.info>, Nicolas Rod for the University of Geneva
|
||||
*/
|
||||
include_once __DIR__.'/../init.php';
|
||||
|
||||
if (!ShibbolethTest::is_enabled())
|
||||
{
|
||||
echo 'This is not a test server';
|
||||
die;
|
||||
}
|
||||
|
||||
Shibboleth::session()->logout();
|
||||
ShibbolethTest::helper()->setup_new_student_no_email();
|
||||
|
||||
require_once __DIR__.'/../login.php';
|
||||
Reference in New Issue
Block a user