Browse Source

Fix global include

master
Travis Burtrum 7 years ago
parent
commit
26b89a6f89
  1. 1
      Sources/Profile-Modify.php

1
Sources/Profile-Modify.php

@ -622,6 +622,7 @@ function loadProfileFields($force_reload = false) @@ -622,6 +622,7 @@ function loadProfileFields($force_reload = false)
'value' => '',
'permission' => 'profile_identity',
'input_validate' => create_function('&$value', '
global $sourcedir;
require_once($sourcedir . \'/scrypt.php\');
$value = $value != \'\' ? Password::hash(md5($value)) : \'\';
return true;

Loading…
Cancel
Save