No. the auth_user table has a column already called registration_key. Just write "blocked" in there.
This will not logout the user. It will only prevent it from logging in again. To logout the use you need to find which session he is using and delete the session file. We do not have an utility for it. We should make one. On Aug 26, 2:43 pm, Jean-Guy <jean...@gmail.com> wrote: > So to summarize I need to add a boolean column in the auth_user table > and flagging it to true will kick out the user? > > Is the name "force_logout" a built in name that automated the thing or > do I have to code a proper function and call it in my controllers? > > I just want instantaneous method to revoked connected user for security > purpose... Mainly logged me out when I forgot to logout on a other computer. > > Thanks. > > Jonhy > > On 2010-08-26 14:27, mdipierro wrote: > > > he other way is a design thing. Add a column to the auth_user table > > > that says "force_logout" that is a boolean type. If you just flag that > > > to true, make the login mechanism sign them out and require them to > > > sign back in.