2
0
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:
Anand Doshi 2016-05-10 13:50:20 +05:30
parent 0e81e99901
commit dc49355ecd
2 changed files with 11 additions and 0 deletions

View File

@ -1,2 +1,3 @@
bench.patches.v3.deprecate_old_config
bench.patches.v3.celery_to_rq
bench.patches.v3.redis_bind_ip

View 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)