What scenarios would we delete a user in?


On Thu, Jun 6, 2013 at 9:16 PM, David Thomas <notifications@github.com>wrote:

> In controllers/account_controller.py:
>
> > +            self.redirect('/account')
> > +        else:
> > +            self.redirect('/')
> > +
> > +class AccountLogout(LoggedInHandler):
> > +  def get(self):
> > +    if os.environ.get('SERVER_SOFTWARE', '').startswith('Development/'):
> > +      self.redirect(self.user_bundle.logout_url)
> > +      return
> > +
> > +    # Deletes the session cookies pertinent to TBA without touching Google session(s)
> > +    response = self.redirect('/')
> > +    response.delete_cookie('ACSID'
> )
> > +    response.delete_cookie('SACSID')
> > +
> > +    return response
>
> Not gonna lie, not 100% sure. My best guess is I'm taking the response,
> editing out the cookies, then sending it on its way.
>
> http://webapp-improved.appspot.com/guide/response.html
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gregmarra/the-blue-alliance/pull/650/files#r4582865>
> .
>