update delete account config structure

#time 0.5h
This commit is contained in:
aina-esokia
2019-04-25 17:27:33 +04:00
parent 5aa13687e6
commit eff72083ba
4 changed files with 10 additions and 2 deletions

View File

@@ -334,7 +334,7 @@ class AccountController extends Controller
{
$user = $this->getAuthenticatedUser();
if($this->app['conf']->get(['main', 'delete-account-require-email-confirmation'])) {
if($this->app['conf']->get(['user_account', 'deleting_policies', 'email_confirmation'])) {
// send email confirmation

View File

@@ -241,3 +241,7 @@ video-editor:
- 1
- '1.5'
- 3
user_account:
deleting_policies:
email_confirmation: true