Commit d95de8fb authored by Richard Mansfield's avatar Richard Mansfield

Don't bother checking required fields are set in thumb.php

Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 4a3cf1e4
......@@ -705,6 +705,10 @@ function auth_get_available_auth_types($institution=null) {
function auth_check_required_fields() {
global $USER, $SESSION;
if (defined('NOCHECKREQUIREDFIELDS')) {
return;
}
$changepassword = true;
$elements = array();
......
......@@ -27,7 +27,7 @@
define('INTERNAL', 1);
define('PUBLIC', 1);
define('NOCHECKPASSWORDCHANGE', 1);
define('NOCHECKREQUIREDFIELDS', 1);
require('init.php');
require_once('file.php');
require_once('user.php');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment