Commit b5a6664c authored by Nigel McNie's avatar Nigel McNie

Allow 'type' to be retrieved from auth objects (password validation error needs it at least)

parent e9f6484a
......@@ -123,7 +123,7 @@ abstract class Auth {
* @return mixed The value
*/
public function __get($name) {
$approved_members = array('instanceid', 'institution', 'instancename', 'priority', 'authname');
$approved_members = array('instanceid', 'institution', 'instancename', 'priority', 'authname', 'type');
if (in_array($name, $approved_members)) {
return $this->{$name};
......
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