Permalink
Browse files

use default domain name from settings

  • Loading branch information...
1 parent c92205b commit 0340c86996a0ac5cfabf6d8ed67c398af8f09e7b @unlimit unlimit committed Jan 20, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/omniauth/strategies/google_apps.rb
@@ -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.