Skip to content

Commit fc93239

Browse files
committed
修复保存密码的逻辑
1 parent f8ef27c commit fc93239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/UserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function form()
173173
$form->disableDeleteButton();
174174
}
175175
})->saving(function (Form $form) {
176-
if ($form->password && $form->model()->get('password') != $form->password) {
176+
if ($form->password && $form->model()->password != $form->password) {
177177
$form->password = bcrypt($form->password);
178178
}
179179

0 commit comments

Comments
 (0)