forked from External/greenlight
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:
committed by
Jesus Federico
parent
0934919e44
commit
79188a6cae
@ -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
|
||||
|
Reference in New Issue
Block a user