mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-16 08:22:36 +08:00
add multi user message
This commit is contained in:
parent
a3148e6642
commit
e78edee987
@ -18,6 +18,9 @@ class UserManager():
|
|||||||
self.settings = AppSettings(self)
|
self.settings = AppSettings(self)
|
||||||
if not os.path.exists(user_directory):
|
if not os.path.exists(user_directory):
|
||||||
os.mkdir(user_directory)
|
os.mkdir(user_directory)
|
||||||
|
if not args.multi_user:
|
||||||
|
print("****** User settings have been changed to be stored on the server instead of browser storage. ******")
|
||||||
|
print("****** For multi-user setups add the --multi-user CLI argument to enable multiple user profiles. ******")
|
||||||
|
|
||||||
if args.multi_user:
|
if args.multi_user:
|
||||||
if os.path.isfile(users_file):
|
if os.path.isfile(users_file):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user