#NEWLINE# def get_current_user_cookie( self ) : #NEWLINE# #INDENT# 'Override get_user_cookie to check Referer header' #NEWLINE# cookie_user = super ( ) . get_current_user_cookie ( ) #NEWLINE# if ( cookie_user and ( not self . check_referer ( ) ) ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# return self