shield: RememberMe: Unknown column 'users.remember' in 'where clause'

Hi all,

I just tried to login with the remember-me checkbox ‘checked’, but it returned an error message:

mysqli_sql_exception #1054
Unknown column 'users.remember' in 'where clause'

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

In your customization, the following code is not good.

$post_request = $this->request->getPost();
// ...
$credentials             = $post_request;

It gets all POSTed fields and sets them to $credentials. You should set only credentials to $credentials.