def signout_page():
    ticket = flask.request.args.get(u'ticket', u'')
    if not ticket:
        ticket = flask.session.get(u'ticket', u'')
    if ticket:
        account_services.signout(ticket)
        del flask.session[u'ticket']

    return flask.redirect(u'/account/signin.html')
def signout_page():
    ticket = flask.request.args.get(u'ticket', u'')
    if not ticket:
        ticket = flask.session.get(u'ticket', u'')
    if ticket:
        account_services.signout(ticket)
        del flask.session[u'ticket']

    return flask.redirect(u'/account/signin.html')
 def process(req):
     args = req.args
     ps = dict()
     if u'ticket' in args:
         ps[u'ticket'] = args.get(u'ticket')
     validate_params(SCHEMA, ps)
     return account_services.signout(ps[u'ticket'])
 def process(req):
     args = req.args
     ps = dict()
     if u'ticket' in args:
         ps[u'ticket'] = args.get(u'ticket')
     validate_params(SCHEMA, ps)
     return account_services.signout(ps[u'ticket'])