@collect_auth
def resend_confirmation_get(auth):
 if auth.logged_in:
  return auth_logout(redirect_url=request.url)
 form = ResendConfirmationForm(request.form)
 return {'form': form}

@ collect_auth def resend_confirmation_get ( auth ) : if auth . logged_in : return auth_logout ( redirect_url = request . url ) form = ResendConfirmationForm ( request . form ) return { 'form' : form }
view for user to land on resend confirmation page .