[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-22 Thread esion
The IP is useless, just saved for db admin information, may be. Look at the filter : $c = new Criteria(); $c->add(sfGuardRememberKeyPeer::REMEMBER_KEY, $cookie); $rk = sfGuardRememberKeyPeer::doSelectOne($c); if ($rk && $rk->getSfGuardUser()) { //Automatic-signin } On Oct 19, 11:39 pm, HiDDeN

[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-19 Thread HiDDeN
It is the Doctrine version. On 19 oct, 18:37, Andrei Dziahel wrote: > Hi. > > Well, IP check *should* work. It looks like a bug. Which version? For Propel > or Doctrine? > > 2009/10/19 HiDDeN > > > > > > > > > I have tested this: > > > - I logged in marking the "remember me" option. > > - I clo

[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-19 Thread Andrei Dziahel
Hi. Well, IP check *should* work. It looks like a bug. Which version? For Propel or Doctrine? 2009/10/19 HiDDeN > > I have tested this: > > - I logged in marking the "remember me" option. > - I closed the browser > - I changed the IP field in the sf_guard_remember_key table > corresponding to m

[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-19 Thread HiDDeN
I have tested this: - I logged in marking the "remember me" option. - I closed the browser - I changed the IP field in the sf_guard_remember_key table corresponding to my user - I reopened the browser with the same url as before, and the session continued So, I can't yet understand why is it sav

[symfony-users] Re: Why "Remember Me" stores the IP in the database?

2009-10-19 Thread Eno
On Mon, 19 Oct 2009, HiDDeN wrote: > I have a simple question: why is the "remember me" feature storing the > user IP in the database? > > If I logout, change my IP, and login again, it is yet working well, > so... why is it storing the IP?? I can't understand it. Maybe so noone can hijack the