That's what it does already. A user tries to log in, if they get the credentials wrong or the user is disabled, or they have no account, they can't log in.
It looks like you're new here. Sign in or register to get started.