mirror of https://github.com/vladmandic/automatic
warn if using public interface without auth
Signed-off-by: Vladimir Mandic <mandic00@live.com>pull/3720/head^2
parent
8a28e8b716
commit
6358276460
|
|
@ -62,6 +62,7 @@
|
|||
- unified standard and modern-ui authentication method & cleanup auth logging
|
||||
- detect & report local/external/public ip addresses if using `listen` mode
|
||||
- detect *docker* enforced limits instead of system limits if running in a container
|
||||
- warn if using public interface without authentication
|
||||
- **Fixes**:
|
||||
- non-full vae decode
|
||||
- send-to image transfer
|
||||
|
|
|
|||
2
webui.py
2
webui.py
|
|
@ -306,6 +306,8 @@ def start_ui():
|
|||
gr_tempdir.register_tmp_file(shared.demo, os.path.join(shared.cmd_opts.data_dir, 'x'))
|
||||
shared.log.info(f'Local URL: {local_url}')
|
||||
if shared.cmd_opts.listen:
|
||||
if not gradio_auth_creds:
|
||||
shared.log.warning('Public interface enabled without authentication')
|
||||
proto = 'https' if shared.cmd_opts.tls_keyfile is not None else 'http'
|
||||
external_ip = get_external_ip()
|
||||
if external_ip is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue