Fix incorrect config check in subscriber data wipe

This commit is contained in:
Kailash Nadh 2020-06-05 09:25:45 +05:30
parent ae68bd2645
commit 67eb3dbbbe
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ func handleWipeSubscriberData(c echo.Context) error {
)
// Is wiping allowed?
if !app.constants.Privacy.AllowExport {
if !app.constants.Privacy.AllowWipe {
return c.Render(http.StatusBadRequest, tplMessage,
makeMsgTpl("Invalid request", "",
"The feature is not available."))