Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
88c8cf6c
Commit
88c8cf6c
authored
Nov 02, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring.
parent
6810b99d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
cookie.php
laravel/cookie.php
+1
-1
auth.php
laravel/security/auth.php
+1
-3
No files found.
laravel/cookie.php
View file @
88c8cf6c
...
...
@@ -125,7 +125,7 @@ class Cookie {
*/
public
static
function
forget
(
$name
)
{
return
static
::
put
(
$name
,
null
,
-
15
00
);
return
static
::
put
(
$name
,
null
,
-
20
00
);
}
}
\ No newline at end of file
laravel/security/auth.php
View file @
88c8cf6c
...
...
@@ -63,9 +63,7 @@ class Auth {
static
::
$user
=
call_user_func
(
Config
::
get
(
'auth.user'
),
Session
::
get
(
Auth
::
user_key
));
$cookie
=
Cookie
::
get
(
Auth
::
remember_key
);
if
(
is_null
(
static
::
$user
)
and
!
is_null
(
$cookie
))
if
(
is_null
(
static
::
$user
)
and
!
is_null
(
$cookie
=
Cookie
::
get
(
Auth
::
remember_key
)))
{
static
::
$user
=
static
::
recall
(
$cookie
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment