Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Change password button should be displayed according to the setting o…

…f the user who is been viewed, not the user who is viewing(currently logged in)
  • Loading branch information...
commit 9896df48fd97f36a37072a2de1d2359c0bb9a93f 1 parent 48dbefc
authored February 13, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  user/view.php
2  user/view.php
@@ -283,7 +283,7 @@
283 283
     echo "</td></tr></table>";
284 284
 
285 285
     $internalpassword = false;
286  
-    if (is_internal_auth($USER->auth) or (!empty($CFG->{'auth_'.$USER->auth.'_stdchangepassword'}))) {
  286
+    if (is_internal_auth($user->auth) or (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}))) {
287 287
         if (empty($CFG->loginhttps)) {
288 288
             $internalpassword = "$CFG->wwwroot/login/change_password.php";
289 289
         } else {

0 notes on commit 9896df4

Please sign in to comment.
Something went wrong with that request. Please try again.