magento / magento/community-features

Customer entity the field is_active is not working

Open
#36 4 comments 0 reactions 1 assignee View on GitHub

@bpicho is already working on this.

Since May 21, 2018.

moved from magento2 Priority: P2
Dominant language
No language data
Stars
46
Forks
14
PR merge metrics
No merged PRs in 30d

Description

I'm trying to lock some customers for they not being able to login neither place orders, etc. There is a field named `is_active` on the table `customer_entity`, but seems it does nothing.

### Preconditions

1. Magento 2.1.7
2. PHP 7.0.18
3. MySQL 5.7.18

### Steps to reproduce

1. Create a new customer
2. Set `is_active=0` on the table `customer_entity` in the ddbb manually for this customer
3. Login with the customer's credentials.

### Expected result

1. It should deny the login, showing some error like this account is blocked or simply credentials are wrong.

### Actual result

1. It logged in successfully

**Original Report**: https://github.com/magento/magento2/issues/10362 by @slayerbleast

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.