8000 修复补丁 因为大小写问题造成的无法读写passport配置的问题 · czsvn/laravel_template_with_vue@7553212 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7553212

Browse files
committed
修复补丁 因为大小写问题造成的无法读写passport配置的问题
1 parent 8269b6a commit 7553212

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

back.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@
1212

1313
`php artisan passport:install --force`
1414

15-
## 5、复制第4步生成的密钥到.env文件中,填写为PERSONAL_Client_Secret和PASSPORT_Client_Secret的参数
16-
PERSONAL_Client_ID=1
15+
## 5、复制第4步生成的密钥到.env文件中,填写为PERSONAL_CLIENT_SECRET和PASSPORT_CLIENT_SECRET的参数
16+
PERSONAL_CLIENT_ID=1
17+
PERSONAL_CLIENT_SECRET=
1718

18-
PERSONAL_Client_Secret=
19-
20-
PASSPORT_Client_ID=2
21-
22-
PASSPORT_Client_Secret=
19+
PASSPORT_CLIENT_ID=2
20+
PASSPORT_CLIENT_SECRET=
2321

2422
## 6、生成用户数据和各种结构数据
2523
`php artisan db:seed`

backend/.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ PUSHER_APP_ID=
3232
PUSHER_APP_KEY=
3333
PUSHER_APP_SECRET=
3434

35-
PERSONAL_Client_ID=1
36-
PERSONAL_Client_Secret=
35+
PERSONAL_CLIENT_ID=1
36+
PERSONAL_CLIENT_SECRET=
3737

38-
PASSPORT_Client_ID=2
39-
PASSPORT_Client_Secret=
38+
PASSPORT_CLIENT_ID=2
39+
PASSPORT_CLIENT_SECRET=

0 commit comments

Comments
 (0)
0