r25533 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25532‎ | r25533 | r25534 >
Date:09:45, 5 September 2007
Author:aaron
Status:old
Tags:
Comment:
*Treat password as temporary
Modified paths:
  • /trunk/extensions/ConfirmAccount/ConfirmAccount_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
@@ -485,7 +485,7 @@
486486 return false;
487487 }
488488 # Set password and realname
489 - $user->setPassword( $p );
 489+ $user->setNewpassword( $p );
490490 $user->setRealName( $row->acr_real_name );
491491 $user->saveSettings(); // Save this into the DB
492492 # Check if the user already confirmed email address

Status & tagging log