Skip to content

Commit fdd4aeb

Browse files
committed
Publish v3.0.0 - Added Generate Token page. Thanks to @agademer
1 parent bf738fc commit fdd4aeb

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ pip install -r requirements.txt
5151
- `access_token_expiration_hours`: Duration (in hours) for which JWT tokens remain valid.
5252
- Type: **number**
5353
- Default: **12**
54+
- `max_access_token_expiration_hours`: Max allowed duration (in hours) for which JWT tokens remain valid.
55+
- Type: **number**
56+
- Default: **8760**
5457
- `log`: Name of the log file.
5558
- Type: **str**
5659
- Default: **sentinel.log**
@@ -109,7 +112,12 @@ pip install -r requirements.txt
109112

110113
- ### User Login
111114

112-
![login-page](https://github.com/user-attachments/assets/45e0fbc2-2c37-4c93-bb98-ad2e264fbfb2)
115+
![login-page](https://github.com/user-attachments/assets/2ba998eb-3774-4e20-aa15-69e429717028)
116+
117+
- ### Generate Token
118+
- Get a JWT token for accessing the API.
119+
120+
![generate-token-page](https://github.com/user-attachments/assets/30dd6324-352b-46fb-96f9-2c7132096a16)
113121

114122
- ### Logout
115123
- A discreet logout button is available.
@@ -132,10 +140,6 @@ pip install -r requirements.txt
132140
- ### ComfyUI Manager Access
133141
- If turned on, only the admin user will be able to access the [ComfyUI Manager](https://github.com/ltdrdata/ComfyUI-Manager) Extension.
134142

135-
## ToDo
136-
137-
- [ ] Check custom nodes for malicious code
138-
139143
## API Access
140144

141145
All API calls to the ComfyUI server require authentication.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-sentinel"
33
description = "ComfyUI Extension for Advanced Security. Implements login, multi-user registration, IP filtering, and user-specific input/output directories."
4-
version = "2.0.0"
4+
version = "3.0.0"
55
license = {file = "LICENSE"}
66
dependencies = ["aiohttp", "PyJWT", "bcrypt", "bleach"]
77

0 commit comments

Comments
 (0)