Skip to content

Commit be972b5

Browse files
committed
Adding use_cookies comments
1 parent ed77621 commit be972b5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

include/webui.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,13 @@ typedef enum {
173173
//
174174
// Default: False
175175
multi_client,
176-
// Allow multiple clients to connect to the same window,
177-
// This is helpful for web apps (non-desktop software),
178-
// Please see the documentation for more details.
176+
// Allow or prevent WebUI from adding `webui_auth` cookies.
177+
// WebUI uses these cookies to identify clients and block
178+
// unauthorized access to the window content using a URL.
179+
// Please keep this option to `True` if you want only a single
180+
// client to access the window content.
179181
//
180-
// Default: False
182+
// Default: True
181183
use_cookies,
182184
// If the backend uses asynchronous operations, set this
183185
// option to `True`. This will make webui wait until the

0 commit comments

Comments
 (0)