Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Разработка расширений / TYPO3 extension development (http://forum.typo3.ru/forumdisplay.php?f=38)
-   -   Simple question - how to make user login? (http://forum.typo3.ru/showthread.php?t=6376)

typo27 04.06.2008 16:12

Simple question - how to make user login?
 
Privet,
Does anybody knows how to make user login (having username) to the system.
I know only one way - to make the form with fields: user, pass, logintype and maybe pid, submit the form (via JS) and let the system itself to login the user.
But what if I want to login user myself?
What function to use for that purpose?
Lets say in cakePHP in order to login user it is enough to set one or two session variables $_$SESSION['user']='John' and user is considered logged in.

The way with submitting the form by JS is not suitable for me for 2 reasons:
1. Javascript may be switched off on user browser.
2. Using kbmd5fepw extension for superchallenging passwords makes the problem completely insane.

Sposibo


Часовой пояс GMT +4, время: 04:50.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot