Merge branch 'github-auth' of git://github.com/nverba/discourse

Conflicts:
	config/locales/server.en.yml
	db/structure.sql
	spec/views/omniauth_callbacks/complete.html.erb_spec.rb
This commit is contained in:
Robin Ward
2013-02-27 12:09:22 -05:00
18 changed files with 183 additions and 15 deletions

View File

@@ -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