/ComfyUI-Login

A custom node that implements basic login https://github.com/liusida/ComfyUI-Login

Primary LanguageHTMLMIT LicenseMIT

ComfyUI-Login

This custom node serves as a proof-of-concept to explore the implementation of basic login functionality for ComfyUI.

In the future, if proven useful, this feature might be directly integrated into either ComfyUI or ComfyUI-Manager.

First thing first

Please be aware that absolute security does not exist. This login node offers only basic protection for ComfyUI. Use it at your own risk.

How to use

Screenshot

Installation

To install this node, you have two options:

  1. In the directory ComfyUI/custom_nodes/, git clone this repo, and do pip install -r requirements.txt in the repo's directory.

  2. Use ComfyUI-Manager. (Sorry, I haven't submitted to ComfyUI-Manager yet...)

Setting Up a New Password

For your first login, you may choose any password. This password will be encrypted and stored in a file named "PASSWORD" within the ComfyUI project folder.

Resetting a Forgotten Password

If you forget your password, you can reset it by deleting the "PASSWORD" file found in the ComfyUI project folder. After doing this, you will be able to log in again using a new password of your choice.

Removing the Login Feature

To disable the login feature, you can either:

  1. Manually delete the ComfyUI-Login folder located in the ComfyUI/custom_nodes/ directory. Then, restart ComfyUI for the changes to take effect.

  2. Use the ComfyUI-Manager to uninstall it. (Sorry, I haven't submitted to ComfyUI-Manager yet...)

HTTPS?

No, there's no HTTPS still.