[TASK] Add missing fe_login hooks to docs 43/60443/6
authorStephan Großberndt <noreply@example.com>
Wed, 10 Apr 2019 10:11:12 +0000 (12:11 +0200)
committerTobi Kretschmann <tobi@tobishome.de>
Tue, 16 Apr 2019 06:27:15 +0000 (08:27 +0200)
Add the missing documentation of the hooks

 * `password_changed` added in TYPO3 4.3
 * `login_error` added in TYPO3 6.0

Releases: master, 9.5, 8.7
Resolves: #88131
Related: #87726, #29698
Change-Id: I0dc875a399da58e13b15225e173392565c64bb03
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60443
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Julian Geils <j_geils@web.de>
Tested-by: Steffen Frese <steffenf14@gmail.com>
Tested-by: Tobi Kretschmann <tobi@tobishome.de>
Reviewed-by: Julian Geils <j_geils@web.de>
Reviewed-by: Steffen Frese <steffenf14@gmail.com>
Reviewed-by: Tobi Kretschmann <tobi@tobishome.de>
typo3/sysext/felogin/Documentation/Hooks/Index.rst

index b9ede92..b7ee157 100644 (file)
@@ -24,9 +24,11 @@ $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['postProcContent']
 $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['login\_confirmed']
   Hook for general actions after login has been confirmed
 
+$GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['login\_error']
+  Hook for general actions on login error
+
 $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs']
-  This Hook is used by kb\_md5fepw extension to set hidden
-  fields and onsubmit-scripts
+  This hook can be used to set hidden fields and onsubmit-scripts
 
 $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['logout\_confirmed']
   Hook for general actions after logout has been confirmed
@@ -34,3 +36,6 @@ $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['logout\_confirmed']
 $GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['forgotPasswordMail ']
   Hook to change the contents of the forgot password mail
 
+$GLOBALS['TYPO3\_CONF\_VARS']['EXTCONF']['felogin']['password\_changed']
+  Receives an array containing the user and the newPassword, allows to mark the
+  password as invalid using 'passwordValid' and set a 'passwordInvalidMessage'