Commit 74e33383 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Removed a debug line, which is also a little security problem

parent 062dcfb0
......@@ -178,7 +178,6 @@ function forgotpasschange_submit(Pieform $form, $values) {
$authtype = auth_get_authtype_for_institution($user->institution);
$authclass = 'Auth' . ucfirst($authtype);
safe_require('auth', $authtype);
if ($password = call_static_method($authclass, 'change_password', $user->username, $values['password1'])) {
$userrec = new StdClass;
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