I attach an improved patch (the previous one was missing a commit).
Note that I've not tested the interaction with the create_users option. If create_user is set, when connecting as an inactive user, the system will attempt to create another user and it will fail due to the unique_key constraint on login.
I attach an improved patch (the previous one was missing a commit).
Note that I've not tested the interaction with the create_users option. If create_user is set, when connecting as an inactive user, the system will attempt to create another user and it will fail due to the unique_key constraint on login.