#NEWLINE# def get( self ) : #NEWLINE# #INDENT# 'Handles user activations.' #NEWLINE# user = users . get_current_user ( ) #NEWLINE# if users_helper . GetGaSuperProxyUser ( user . user_id ( ) ) : #NEWLINE# #INDENT# self . redirect ( co . LINKS [ 'owner_index' ] ) #NEWLINE# return #NEWLINE# #UNINDENT# if ( not users_helper . GetInvitation ( user . email ( ) . lower ( ) ) ) : #NEWLINE# #INDENT# self . redirect ( co . LINKS [ 'public_index' ] ) #NEWLINE# #UNINDENT# template_values = { #NEWLINE# #INDENT# 'xsrf_token' : access_control . GetXsrfToken ( ) , #NEWLINE# #UNINDENT# } #NEWLINE# self . RenderHtmlTemplate ( 'activate.html' , user )