File tree Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Expand file tree Collapse file tree 1 file changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,6 @@ public function retrieve($id)
18
18
}
19
19
}
20
20
21
- /**
22
- * Login the user assigned to the given token.
23
- *
24
- * The token is typically a numeric ID for the user.
25
- *
26
- * @param mixed $token
27
- * @param bool $remember
28
- * @return bool
29
- */
30
- public function login ($ token , $ remember = false )
31
- {
32
- // if the token is an Eloquent model get the primary key
33
- if ($ token instanceof \Eloquent) $ token = $ token ->get_key ();
34
-
35
- $ this ->token = $ token ;
36
-
37
- $ this ->store ($ token );
38
-
39
- if ($ remember ) $ this ->remember ($ token );
40
-
41
- return true ;
42
- }
43
-
44
21
/**
45
22
* Attempt to log a user into the application.
46
23
*
@@ -66,29 +43,6 @@ public function attempt($arguments = array())
66
43
return false ;
67
44
}
68
45
69
- /**
70
- * Login the user assigned to the given token.
71
- *
72
- * The token is typically a numeric ID for the user.
73
- *
74
- * @param mixed $token
75
- * @param bool $remember
76
- * @return bool
77
- */
78
- public function login ($ token , $ remember = false )
79
- {
80
- // if the token is an Eloquent model get the primary key
81
- if ($ token instanceof \Eloquent) $ token = $ token ->get_key ();
82
-
83
- $ this ->token = $ token ;
84
-
85
- $ this ->store ($ token );
86
-
87
- if ($ remember ) $ this ->remember ($ token );
88
-
89
- return true ;
90
- }
91
-
92
46
/**
93
47
* Get a fresh model instance.
94
48
*
You can’t perform that action at this time.
0 commit comments