|
@@ 23-29 (lines=7) @@
|
| 20 |
|
/** |
| 21 |
|
* Show the user a form to change his personal information. |
| 22 |
|
*/ |
| 23 |
|
public function getAccountInfoForm() |
| 24 |
|
{ |
| 25 |
|
$this->data['title'] = trans('backpack::base.my_account'); |
| 26 |
|
$this->data['user'] = $this->guard()->user(); |
| 27 |
|
|
| 28 |
|
return view('backpack::auth.account.update_info', $this->data); |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
/** |
| 32 |
|
* Save the modified personal information for a user. |
|
@@ 50-56 (lines=7) @@
|
| 47 |
|
/** |
| 48 |
|
* Show the user a form to change his login password. |
| 49 |
|
*/ |
| 50 |
|
public function getChangePasswordForm() |
| 51 |
|
{ |
| 52 |
|
$this->data['title'] = trans('backpack::base.my_account'); |
| 53 |
|
$this->data['user'] = $this->guard()->user(); |
| 54 |
|
|
| 55 |
|
return view('backpack::auth.account.change_password', $this->data); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* Save the new password for a user. |