Commit 51d4de0f authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix for register page when >1 internal authinstance

parent 2281ac0a
......@@ -412,7 +412,7 @@ function register_validate(Pieform $form, $values) {
$user =(object) $values;
$user->authinstance = get_field('auth_instance', 'id', 'authname', 'internal'); // Internal
$user->authinstance = get_field('auth_instance', 'id', 'authname', 'internal', 'institution', $institution);
password_validate($form, $values, $user);
// First name and last name must contain at least one non whitespace
Supports Markdown
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