lib/gratan/client.rb in gratan-0.2.5 vs lib/gratan/client.rb in gratan-0.2.6
- old
+ new
@@ -95,10 +95,10 @@
end
def create_user(user, host, attrs)
attrs[:options] ||= {}
- unless attrs.has_key?(:identified)
+ unless attrs[:options].has_key?(:identified)
identified = @options[:identifier].identify(user, host)
attrs[:options][:identified] = identified if identified
end
@driver.create_user(user, host, attrs)