theforeman/foreman — pull request #1031 by stbenjam (2013-11-17 00:33:40+00:00)
Title: fixes #3493 - check if auto user reg is allowed for auth source

source.onthefly_register wasn't checked anywhere, so ldap users were always automatically registered.