File tree Expand file tree Collapse file tree 4 files changed +6
-20
lines changed Expand file tree Collapse file tree 4 files changed +6
-20
lines changed Original file line number Diff line number Diff line change 22
33namespace Backpack \CRUD \app \Http \Controllers \Auth ;
44
5- use Backpack \CRUD \app \Auth \SendsPasswordResetEmails ;
5+ use Backpack \CRUD \app \Library \ Auth \SendsPasswordResetEmails ;
66use Illuminate \Routing \Controller ;
77use Illuminate \Support \Facades \Password ;
88
Original file line number Diff line number Diff line change @@ -83,21 +83,4 @@ protected function guard()
8383 {
8484 return backpack_auth ();
8585 }
86-
87- // -------------------------------------------------------
88- // Laravel overwrites for loading backpack views
89- // -------------------------------------------------------
90-
91- /**
92- * Show the application login form.
93- *
94- * @return \Illuminate\Http\Response
95- */
96- public function showLoginForm ()
97- {
98- $ this ->data ['title ' ] = trans ('backpack::base.login ' ); // set the page title
99- $ this ->data ['username ' ] = $ this ->username ();
100-
101- return view (backpack_view ('auth.login ' ), $ this ->data );
102- }
10386}
Original file line number Diff line number Diff line change 22
33namespace Backpack \CRUD \app \Http \Controllers \Auth ;
44
5- use Backpack \Crud \app \Library \Auth \ResetsPasswords ;
5+ use Backpack \CRUD \app \Library \Auth \ResetsPasswords ;
66use Illuminate \Http \Request ;
77use Illuminate \Routing \Controller ;
88use Illuminate \Support \Facades \Password ;
Original file line number Diff line number Diff line change @@ -18,7 +18,10 @@ trait AuthenticatesUsers
1818 */
1919 public function showLoginForm ()
2020 {
21- return view ('auth.login ' );
21+ $ this ->data ['title ' ] = trans ('backpack::base.login ' ); // set the page title
22+ $ this ->data ['username ' ] = $ this ->username ();
23+
24+ return view (backpack_view ('auth.login ' ), $ this ->data );
2225 }
2326
2427 /**
You can’t perform that action at this time.
0 commit comments