Преглед изворни кода

#4148 - Build-in API support (alert after email confirmed)

roman.lesnikov@gmail.com пре 3 година
родитељ
комит
bd6d4d3add
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      template/scripts/BxBaseServiceAccount.php

+ 1 - 0
template/scripts/BxBaseServiceAccount.php

@@ -360,6 +360,7 @@ class BxBaseServiceAccount extends BxDol
 
         // redirect with success message
         $sUrl = getParam('sys_redirect_after_email_confirmation');
+        bx_alert('account', 'after_email_confirmation', $aData['account_id'], false, ['override_result' => &$sUrl]);
 
         $oTemplate = BxDolTemplate::getInstance();
         $oTemplate->setPageNameIndex (BX_PAGE_TRANSITION);