Skip to content

Commit 1a7b2a9

Browse files
author
Robert Mitwicki
committed
Merge pull request #206 from martinx/master
Update the method to get value from AR
2 parents 8497353 + 5f675ce commit 1a7b2a9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ resources/dev
1818
.bundle
1919
.vagrant
2020
Vagrantfile
21+
Gemfile.lock

lib/casserver/authenticators/sql.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def raise_if_not_configured
133133
def extract_extra user
134134
@extra_attributes = {}
135135
extra_attributes_to_extract.each do |col|
136-
@extra_attributes[col] = user.send(col)
136+
@extra_attributes[col] = user[col.to_sym]
137137
end
138138
end
139139

0 commit comments

Comments
 (0)