Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laravel-adminpanel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
laravel-adminpanel
Commits
0191fac8
Commit
0191fac8
authored
Aug 01, 2018
by
Vipul Basapati
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://github.com/viralsolani/laravel-adminpanel
into develop
parents
8864ca1a
01853adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
User.php
app/Models/Access/User/User.php
+5
-2
No files found.
app/Models/Access/User/User.php
View file @
0191fac8
...
@@ -92,8 +92,11 @@ class User extends Authenticatable implements JWTSubject
...
@@ -92,8 +92,11 @@ class User extends Authenticatable implements JWTSubject
'email'
=>
$this
->
email
,
'email'
=>
$this
->
email
,
'picture'
=>
$this
->
getPicture
(),
'picture'
=>
$this
->
getPicture
(),
'confirmed'
=>
$this
->
confirmed
,
'confirmed'
=>
$this
->
confirmed
,
'registered_at'
=>
$this
->
created_at
->
toIso8601String
(),
'role'
=>
optional
(
$this
->
roles
()
->
first
())
->
name
,
'last_updated_at'
=>
$this
->
updated_at
->
toIso8601String
(),
'permissions'
=>
$this
->
permissions
()
->
get
(),
'status'
=>
$this
->
status
,
'created_at'
=>
$this
->
created_at
->
toIso8601String
(),
'updated_at'
=>
$this
->
updated_at
->
toIso8601String
(),
];
];
}
}
}
}
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