Commit 4d9f4df8 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie

Fixed some more whoopsies with the Form -> Pieform transition

parent 394c42ae
......@@ -308,7 +308,7 @@ function auth_check_password_change() {
exit;
}
require_once('form.php');
require_once('pieforms/pieform.php');
$form = array(
'name' => 'change_password',
'method' => 'post',
......
......@@ -1173,11 +1173,11 @@ function get_random_key() {
* similar), including being the user's username
* - Both values being equal
*
* @param Form $form The form to validate
* @param array $values The values passed through
* @param string $authplugin The authentication plugin that the user uses
* @param Pieform $form The form to validate
* @param array $values The values passed through
* @param string $authplugin The authentication plugin that the user uses
*/
function password_validate(Form $form, $values, $user) {
function password_validate(Pieform $form, $values, $user) {
$authtype = auth_get_authtype_for_institution($user->institution);
$authclass = 'Auth' . ucfirst($authtype);
safe_require('auth', $authtype);
......
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