#NEWLINE# def commit( self ) : #NEWLINE# #INDENT# properties = ( 'email' , 'email_repeat' ) #NEWLINE# if ( not self . is_validated ( properties ) ) : #NEWLINE# #INDENT# self . error_message = _ ( 'Unable to process. Check your input below.' ) #NEWLINE# return None #NEWLINE# #UNINDENT# u = usermanager . UserManager . get_by_username ( self . username ) #NEWLINE# if self : #NEWLINE# #INDENT# u . set_email_to_confirm ( self . email . value ) #NEWLINE# return self . username #NEWLINE# #UNINDENT# self . error_message = _ ( 'Something went wrong: user does not exist! Please contact the administrator of this site.' ) #NEWLINE# return None