./lib/cupertino/provisioning_portal/commands/logout.rb in cupertino-0.7.1 vs ./lib/cupertino/provisioning_portal/commands/logout.rb in cupertino-0.8.0
- old
+ new
@@ -2,12 +2,12 @@
c.syntax = 'ios logout'
c.summary = 'Remove account credentials'
c.description = ''
c.action do |args, options|
- say_error "You are not authenticated" and abort unless Security::InternetPassword.find(:server => Cupertino::HOSTNAME)
+ say_error "You are not authenticated" and abort unless Security::InternetPassword.find(:server => Cupertino::ProvisioningPortal::HOST)
- Security::InternetPassword.delete(:server => Cupertino::HOSTNAME)
+ Security::InternetPassword.delete(:server => Cupertino::ProvisioningPortal::HOST)
say_ok "Account credentials removed"
end
end