Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7553212

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

File tree

Expand file treeCollapse file tree

2 files changed

+9
-11
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+9
-11
lines changed

‎back.md

Copy file name to clipboardExpand all lines: back.md
+5-7Lines 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

Copy file name to clipboardExpand all lines: backend/.env.example
+4-4Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.