Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:entwickler:hooks [2026/08/26 21:22] kainhoferen:entwickler:hooks [2026/08/26 22:33] (current) kainhofer
Line 146: Line 146:
     }     }
     // reject an email outside the association's domain     // reject an email outside the association's domain
-    if ($userData->getValue('usd_usf_id') === $emailFieldId && !str_ends_with($value, '@example.org')) {+    if ($userData->getValue('usf_name_intern') === 'EMAIL' && !str_ends_with($value, '@example.org')) {
         throw new Exception('Only @example.org addresses are allowed.');         throw new Exception('Only @example.org addresses are allowed.');
     }     }
  • en/entwickler/hooks.txt
  • Last modified: 2026/08/26 22:33
  • by kainhofer