Fix setting `last_credential_check_at` on LDAP-login
It seems that https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12125 broke LDAP by a small typo.
This fixes the typo and adds a spec for it.
Edited by Bob Van Landuyt
It seems that https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12125 broke LDAP by a small typo.
This fixes the typo and adds a spec for it.