@collect_auth
def forgot_password_get(auth):
 if auth.logged_in:
  return auth_logout(redirect_url=request.url)
 return {}

@ collect_auth def forgot_password_get ( auth ) : if auth . logged_in : return auth_logout ( redirect_url = request . url ) return { }
view for user to land on the forgot password page .