lib/insales_api/password.rb in insales_api-0.1.0 vs lib/insales_api/password.rb in insales_api-0.1.1

- old
+ new

@@ -1,7 +1,7 @@ module InsalesApi module Password - def self.create(secret, token) - Digest::MD5.hexdigest("#{token}#{secret}") + def self.create(secret, token, user_email = '', user_name = '', user_id = '') + Digest::MD5.hexdigest("#{token}#{user_email}#{user_name}#{user_id}#{secret}") end end end