mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Added Github authentication option, disabled by default with enable options in settings.
This commit is contained in:
@@ -21,6 +21,7 @@ class User < ActiveRecord::Base
|
||||
has_many :user_visits
|
||||
has_many :invites
|
||||
has_one :twitter_user_info
|
||||
has_one :github_user_info
|
||||
belongs_to :approved_by, class_name: 'User'
|
||||
|
||||
validates_presence_of :username
|
||||
|
||||
Reference in New Issue
Block a user