]> git.mxchange.org Git - friendica.git/blobdiff - doc/Addons.md
Merge pull request #5253 from rabuzarus/20180616_-_magic_auth_test_2
[friendica.git] / doc / Addons.md
index 062f90795a5e48b2220fb1700a6a7d9be06149fb..710d10cfd028caba7c5a8a8aec3ecab8b1031059 100644 (file)
@@ -357,6 +357,12 @@ Hook data:
     'item' => item array (input)
     'html' => converted item body (input/output)
 
+### 'magic_auth_success'
+Called when a magic-auth was successful.
+Hook data:
+    'visitor' => array with the contact record of the visitor
+    'url' => the query string
+
 Current JavaScript hooks
 -------------
 
@@ -557,6 +563,7 @@ Here is a complete list of all hook callbacks with file locations (as of 01-Apr-
     Addon::callHooks('profile_sidebar', $arr);
     Addon::callHooks('profile_tabs', $arr);
     Addon::callHooks('zrl_init', $arr);
+    Addon::callHooks('magic_auth_success', $arr);
 
 ### src/Model/Event.php