Changelog file for Login component. Login 1.6.2 ==================================== - [#4844] Automatically trim trailing whitespace/newlines in validator calls - [#4843] Fix issue with sentTplType not being respected in ForgotPassword - [#4936] Fix issue in ForgotPassword that occurred if no user was found with that username - [#5019] Add backwards compatibility for Revo 2.0.x users in ResetPassword - Fix reference to $this->modx->lexicon in Login Snippet Login 1.6.0/1 ==================================== - [#4886] Fix issue with variable variable in main login class when loading hooks - [#4487] Prevent usage of mb_ereg if not installed - [#3500] Fix issues with inline tplType params in Login snippets - [#4545] Fix issue with OnBeforeUserActivate event - Revolution 2.1 support, specifically with the password changes Login 1.5.3 ==================================== - Add preHooks to ForgotPassword snippet - Fix issue that occurs when Login and Register forms are on same page with math register hook Login 1.5.2 ==================================== - [#3330] Add sanity checks to prevent possible submitVar data adding in UpdateProfile - Add support for moderation of users when done in a prehook - Add support for redirectBackParams that can send encoded data through a login/registration process - Add a generic validation error in Register to allow for general messages - Ensure preHooks run before password validation in ChangePassword snippet - Fix issue with placeholderPrefix in UpdateProfile snippet Login 1.5.1 ==================================== - [#44] Fix bug with login validator, &validate parameter - [#40] Fix issue with syncUsername in UpdateProfile - [#42] Respect allow_multiple_emails setting that prevents users with same email addresses - [#43] Add workaround for xPDO bug with NULL fields in modUserProfile - Trim each hook specification in hooks calls - [#28] Fixed validator issue in UpdateProfile - Added redirectTo and redirectParams on ForgotPassword snippet - Updated events in ResetPassword snippet to pass user object - Fixed UpdateProfile to properly update user obj so derivative User classes can manage profile updates Login 1.5.0 ==================================== - Fixed security vulnerability - Added authenticate and authenticateContexts to ConfirmRegister to allow for authentication after confirming registration - Fixed persisting request alias params issue in ConfirmRegister - [#15] Added ability to assign roles when using &usergroups in Register, ie: &usergroups=`my-group-name:Member` - Added math hook to Register, allowing anti-spam math field measure - Added fix to allow overriding of class_key for new users in Register Login 1.4.0 ==================================== - Added redirectBack to Register, Login and ConfirmRegister that allows dynamic redirection handling for other forms needing login/registration - Added redirectTo, redirectParams to ConfirmRegister that will redirect after successful confirmation - Added persistParams to Register snippet, useful for shopping cart implementations to persist parameters across the registration process - [#27] Fixed issue with activationEmail always overriding normal email - [#29] Added loginResourceParams, logoutResourceParams, which allows attaching REQUEST parameters to login/logout redirection URLs - Added changelog to build - [#26],[#14] Added activationEmail property for better handling of middle men in activation steps Login 1.3.2-pl ==================================== - [#25] Added isLoggedIn snippet for checking auth status - [#24] Fixed issue where inactive user could re-register - Fixed issue with embedded chunk type display - Fixed issue with redirects and non-FURLs on Register snippet Login 1.3.1-pl (October 15, 2010) ==================================== - Fixed issue with Login snippet on invalid logins Login 1.3.0-pl (October 14, 2010) ==================================== - Modified experimental multi-context support to use new login processor add_contexts parameter - Added ChangePassword snippet for changing passwords in the front-end - Fixed bugs with usernameField property, now works as expected - Added Dutch translation Login 1.2.0 ==================================== - Fixed issues with placement of prehooks and such - Added excludeExtended property to Register, UpdateProfile snippets to allow for excluding fields from extended fields - Added new hook API methods for easier setting/retrieving of fields - Added experimental multiple-context login support - Fixed bug in login snippet with hard-coded action keys - Added support to set subject in ForgotPassword email - Added reCaptcha support to login form via a preHook - Added preHooks and postHooks ability to Login snippet - i18n of snippet properties Login 1.1.0 ==================================== - Added Profile snippet, which outputs Profile data of a User in placeholders - Added &useExtended to UpdateProfile/Register, which allows users to set additional fields passed to be set in extended column - Fixed bug in UpdateProfile where validators were broken Login 1.0.3 ==================================== - Fixed bug where logout link generation was ignorant of xhtml_urls setting - Fixed bug where ForgotPassword was sending invalid confirmUrl - Added preHooks and postHooks properties for doing pre and post register scripting to UpdateProfile snippet - Added preHooks and postHooks properties for doing pre and post register scripting to Register snippet - Added syncUsername property to UpdateProfile snippet - Fixed bug with embedded output in Login snippet - Added Russian translation Login 1.0.2 ==================================== - Updated copyright information - Ensure username,password and email are always passed to register snippet to prevent blank logins Login 1.0.1 ==================================== - Consolidated elements into own dir - Added extra checks and fixes to lgnValidator class - Added UpdateProfile snippet to enable updating of profile from front-end Login 1.0.0 ==================================== - [#ADDON-129] Added name to default Register form - [#ADDON-106] Fixed incorrect plugin event invoking - [#ADDON-107] Added missing lexicon entry register.password_confirm - [#ADDON-103] Fixed context-specific issue with register email - [#ADDON-118] Force lexicon topic to load on lgnRegisterForm - Fixed alias issue in ForgotPassword snippet - Added changelog.txt