#NEWLINE# def logout( self ) : #NEWLINE# #INDENT# next = self . _query_params . get ( 'next' ) #NEWLINE# headers = forget ( self . request ) #NEWLINE# if self : #NEWLINE# #INDENT# return JHTTPFound ( location = next , headers = headers ) #NEWLINE# #UNINDENT# return JHTTPOk ( 'Logged out' , headers = headers )