File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ starting packages, so hopefully this starter kit has a good value. Any PRs
9
9
regarding improvement to the starting kit is welcome.
10
10
11
11
To-do:
12
- - [ ] Basic Authentication
12
+ - [x] Basic Authentication
13
+ - [ ] User control to edit the user's information via Dashboard
13
14
14
15
The package includes:
15
16
- Laravel mix (to mimic Laravel's asset compiling)
@@ -24,4 +25,11 @@ The package includes:
24
25
- Clone this project.
25
26
- Run ` composer install ` .
26
27
- Run ` npm install ` .
27
- - Run ` npm run dev ` or ` npm run watch ` to compile assets.
28
+ - Run ` npm run dev ` or ` npm run watch ` to compile assets.
29
+
30
+ ## Authentication
31
+ The authentication method is based on the ` User ` model. Inside the
32
+ ` LoginController ` , the ` LoginUser ` service will set the user's information to
33
+ the session. In default, the authentication only provide ` username ` as the
34
+ authentication key, you can override the key for whatever you like such as
35
+ ` email ` , but you have to make sure that field is exists in the ` users ` table.
You can’t perform that action at this time.
0 commit comments