feat: add first-run setup security flow
This commit is contained in:
1 parent
1b6d8e7277
commit
cdaf3638b8
24 files changed
+1127
-64
No files matched your search
@@ -149,7 +149,7 @@ If guest upload is disabled in admin panel (`openUpload=0`), you need to login f
|
||||
# 1. Login to get token
|
||||
curl -X POST "http://localhost:12345/admin/login" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"password": "FileCodeBox2023"}'
|
||||
-d '{"password": "<admin-password-set-during-setup>"}'
|
||||
|
||||
# Returns: {"code":200,"msg":"success","detail":{"token":"xxx.xxx.xxx","token_type":"Bearer"}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user