mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +00:00
[patch] [security] patch to fix redis bind ip
This commit is contained in:
parent
0e81e99901
commit
dc49355ecd
@ -1,2 +1,3 @@
|
||||
bench.patches.v3.deprecate_old_config
|
||||
bench.patches.v3.celery_to_rq
|
||||
bench.patches.v3.redis_bind_ip
|
||||
|
10
bench/patches/v3/redis_bind_ip.py
Normal file
10
bench/patches/v3/redis_bind_ip.py
Normal file
@ -0,0 +1,10 @@
|
||||
import click
|
||||
from bench.config.redis import generate_config
|
||||
|
||||
def execute(bench_path):
|
||||
click.confirm('\nThis update will replace ERPNext\'s Redis configuration files to fix a major security issue.\n'
|
||||
'If you don\'t know what this means, type Y ;)\n\n'
|
||||
'Do you want to continue?',
|
||||
abort=True)
|
||||
|
||||
generate_config(bench_path)
|
Loading…
Reference in New Issue
Block a user