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