Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Fixing update_user to permit disabling a user #749

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

doug-baer
Copy link

@doug-baer doug-baer commented Feb 25, 2021

When is_enabled is passed in as False, indicating that an account should be disabled, the conditional evaluates to False and does not execute the put_resource method to perform the requested action.

Apologies... trying once again with the comparison to None using "is not" instead of "!="

To help us process your pull request efficiently, please include:

  • (Required) Short description of changes in the PR topic line

  • (Required) Detailed description of changes include tests and
    documentation. If the pull request contains multiple commits with
    detailed messages, refer to those instead

  • (Optional) Names of reviewers using @ sign + name


This change is Reviewable

When is_enabled is passed in as False, indicating that an account should be disabled, the conditional evaluates to False and does not execute the put_resource method to perform the requested action.

Apologies... trying once again with the comparison to None using "is not" instead of "!="
Copy link
Contributor

@rocknes rocknes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @doug-baer)

Copy link
Author

@doug-baer doug-baer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @doug-baer)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants