openid fixes
This commit is contained in:
parent
600adde6ba
commit
de58ddde50
4 changed files with 14 additions and 14 deletions
|
|
@ -37,4 +37,4 @@ class DatatableSupporters < Datatable
|
|||
def columns
|
||||
["name", "email", "name", "name", "name"]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
class Openid < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
validates :provider, :uid, :presence => true
|
||||
validates :provider, :uid, presence: true
|
||||
|
||||
# Searches for openid based on provider and uid.
|
||||
# Returns found openid or a new openid.
|
||||
|
|
@ -16,7 +16,5 @@ class Openid < ActiveRecord::Base
|
|||
end
|
||||
end
|
||||
openid
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue