Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
51d4de0f
Commit
51d4de0f
authored
Dec 21, 2007
by
Richard Mansfield
Browse files
Fix for register page when >1 internal authinstance
parent
2281ac0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/register.php
View file @
51d4de0f
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment