Last modified: 2013-02-14 07:55:38 UTC
I must set same cookie values for other apps,when user login in. but i can't find the interface in the AuthPlugin. maybe the AuthPlugin could append the following methods: /** * if you will setcookie for extenal apps. put it here * @param User $user * @param bool $remember remember passsord for next login * @public */ function setCookies($user, $remember=false){ # Override this to do something. } /** * do clear * @param bool $onlypassword */ function clearCookies($onlypassword=false){ # Override this to do something. }
The UserSetCookies and UserLogout hooks work quite nicely for this.