File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public function attempt($arguments = array())
35
35
// log the user into the application and remember them if asked.
36
36
$ password = $ arguments ['password ' ];
37
37
38
- $ password_field = Config::get ('auth.password ' );
38
+ $ password_field = Config::get ('auth.password ' , ' password ' );
39
39
40
40
if ( ! is_null ($ user ) and Hash::check ($ password , $ user ->get_attribute ($ password_field )))
41
41
{
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function attempt($arguments = array())
37
37
// log the user into the application and remember them if asked.
38
38
$ password = $ arguments ['password ' ];
39
39
40
- $ password_field = Config::get ('auth.password ' );
40
+ $ password_field = Config::get ('auth.password ' , ' password ' );
41
41
42
42
if ( ! is_null ($ user ) and Hash::check ($ password , $ user ->{$ password_field }))
43
43
{
You can’t perform that action at this time.
0 commit comments