TYPO3: Allow FE user to login only once at a timeWednesday, October 31, 2007 at 05:11 PM TYPO3 framework allows easy creation of protected pages. These pages can be accessed only by the front end users, if they provide the correct username and password. TYPO3 by default allows the same username and password to be used multiple times at a time, possibly from different computers scattered all over the Internet. If you would like to password protect in such way that a user can be logged in only once at a time, read on... You will need to extend the tslib_feUserAuth class. If you have some extensions loaded which also extend this class, you might get conflicts. To extend the tslib_feUserAuth class add the following line to the localconf.php: $TYPO3_CONF_VARS["FE"]["XCLASS"] Create a file class.ux_FrontEndUserExtension.php with the following contents: class ux_tslib_feUserAuth extends tslib_feUserAuth Now whenever a user logins to a protected front end page, he will automatically logout the previously logged in user with the same username. This entry was posted on Wednesday, October 31, 2007 at 05:11 PM
and is filed under Open source, TYPO3, Tips & tricks.
You can leave a response, or trackback from your own site.
Copyright | Quality Policy | Disclaimer | Privacy Policy | RSS 2007-2010 © Essential Dots d.o.o. All rights reserved. |