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
fdd02f0d
Unverified
Commit
fdd02f0d
authored
Nov 14, 2017
by
Viral Solani
Committed by
GitHub
Nov 14, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #24 from viralsolani/analysis-z3PWJY
Apply fixes from StyleCI
parents
0c68d600
0a0aec7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
helpers.php
app/Helpers/helpers.php
+2
-2
AuthController.php
app/Http/Controllers/Api/V1/AuthController.php
+4
-2
User.php
app/Models/Access/User/User.php
+1
-1
No files found.
app/Helpers/helpers.php
View file @
fdd02f0d
<?php
use
App\Exceptions\GeneralException
;
use
App\Helpers\uuid
;
use
App\Http\Utilities\SendEmail
;
use
App\Models\Notification\Notification
;
use
App\Models\Settings\Setting
;
use
Carbon\Carbon
as
Carbon
;
use
App\Helpers\uuid
;
/**
* Henerate UUID
* Henerate UUID
.
*
* @return uuid
*/
...
...
app/Http/Controllers/Api/V1/AuthController.php
View file @
fdd02f0d
...
...
@@ -21,6 +21,7 @@ class AuthController extends APIController
* Authenticate User.
*
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
public
function
authenticate
(
Request
$request
)
...
...
@@ -81,9 +82,10 @@ class AuthController extends APIController
}
/**
* Register User
* Register User
.
*
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
public
function
register
(
Request
$request
)
...
...
@@ -120,7 +122,7 @@ class AuthController extends APIController
$user
->
notify
(
new
Activation
(
$user
));
return
$this
->
respondCreated
([
'You have registered successfully. Please check your email for activation!'
'You have registered successfully. Please check your email for activation!'
,
]);
}
...
...
app/Models/Access/User/User.php
View file @
fdd02f0d
...
...
@@ -49,7 +49,7 @@ class User extends Authenticatable
'status'
,
'confirmation_code'
,
'confirmed'
,
'created_by'
'created_by'
,
];
/**
...
...
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