'Exposed function for use outside of the class. E.g. when user click on the resend link in the masthead.'

@web.expose
def resend_verification(self, trans):

    (message, status) = self.resend_verification_email(trans, None, None)
    if (status == 'done'):
        return trans.show_ok_message(message)
    else:
        return trans.show_error_message(message)
