mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
add cas support with a few tests
This commit is contained in:
@ -27,6 +27,7 @@ class User < ActiveRecord::Base
|
||||
|
||||
has_one :twitter_user_info, dependent: :destroy
|
||||
has_one :github_user_info, dependent: :destroy
|
||||
has_one :cas_user_info, dependent: :destroy
|
||||
belongs_to :approved_by, class_name: 'User'
|
||||
|
||||
has_many :group_users
|
||||
|
Reference in New Issue
Block a user