Commit 635ab613 authored by Piers Harding's avatar Piers Harding
Browse files

auth/saml: fix problem with distinction of users between authinstances.

parent 82b9ba15
......@@ -134,11 +134,8 @@ class AuthSaml extends Auth {
throw new AccessDeniedException();
else {
$user->find_by_instanceid_username($this->instanceid, $remoteuser, true);
if ($user->get('suspendedcusr')) {
die_info(get_string('accountsuspended', 'mahara', strftime(get_string('strftimedaydate'), $user->get('suspendedctime')), $user->get('suspendedreason')));
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