summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-27 07:47:19 +0200
committerastaf <astaf@proxy.ccwn.org.ccwn.org>2012-06-27 07:47:19 +0200
commite2612db74ea4ae2bec57adc81a07eaa509c3b5db (patch)
tree51f64411c28cca99127b39398d628069ce72a086
parent209931e899d78e23ff554902af1ab0f32d4a7f34 (diff)
parent4bbdcb7e7577afab0a707351e44a52bfd4f7ad7e (diff)
Merge branch 'master' of ssh://proxy:9044/home/ccwn/git-repos/admin.astaf.de
-rw-r--r--protected/controllers/UserController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/protected/controllers/UserController.php b/protected/controllers/UserController.php
index f4fe415..07db799 100644
--- a/protected/controllers/UserController.php
+++ b/protected/controllers/UserController.php
@@ -144,7 +144,7 @@ class UserController extends Controller {
$pw = $model->generateNewPassword();
- $model->password = $pw;
+ $model->password = $model->encryptPassword($pw);
$model->admin_pw_reset = true;
if ($model->save()) {