Skip to content

Commit

Permalink
use default domain name from settings
Browse files Browse the repository at this point in the history
  • Loading branch information
unlimit committed Jan 20, 2012
1 parent c92205b commit 0340c86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/omniauth/strategies/google_apps.rb
Expand Up @@ -15,8 +15,9 @@ def get_identifier
end

def identifier
options[:domain] || request['domain']
request['domain'].blank? ? options[:domain] : request['domain']
end

end
end
end

0 comments on commit 0340c86

Please sign in to comment.