@@ 21-27 (lines=7) @@ | ||
18 | $this->middleware('admin'); |
|
19 | } |
|
20 | ||
21 | public function getAccountInfoForm() |
|
22 | { |
|
23 | $this->data['title'] = trans('backpack::base.my_account'); |
|
24 | $this->data['user'] = Auth::user(); |
|
25 | ||
26 | return view('backpack::auth.account.update_info', $this->data); |
|
27 | } |
|
28 | ||
29 | public function postAccountInfoForm(AccountInfoRequest $request) |
|
30 | { |
|
@@ 38-44 (lines=7) @@ | ||
35 | return redirect()->back(); |
|
36 | } |
|
37 | ||
38 | public function getChangePasswordForm() |
|
39 | { |
|
40 | $this->data['title'] = trans('backpack::base.my_account'); |
|
41 | $this->data['user'] = Auth::user(); |
|
42 | ||
43 | return view('backpack::auth.account.change_password', $this->data); |
|
44 | } |
|
45 | ||
46 | public function postChangePasswordForm(ChangePasswordRequest $request) |
|
47 | { |