Add support for roles (#656)

* Add support for ldap roles

* Remove debugger

* Remove bundled with

* Update omniauth-bn-launcher version
This commit is contained in:
shawn-higgins1
2019-07-24 13:40:09 -04:00
committed by Jesus Federico
parent 0934919e44
commit 79188a6cae
4 changed files with 9 additions and 7 deletions

View File

@ -81,7 +81,7 @@ class SessionsController < ApplicationController
return redirect_to(ldap_signin_path, alert: I18n.t("invalid_credentials"))
end
@auth = parse_auth(result)
@auth = parse_auth(result, ENV['LDAP_ROLE_FIELD'])
process_signin
end