lib/uffizzi/cli/logout.rb in uffizzi-cli-0.9.0 vs lib/uffizzi/cli/logout.rb in uffizzi-cli-0.10.0
- old
+ new
@@ -15,10 +15,10 @@
return Uffizzi.ui.say('You are not logged in') unless Uffizzi::AuthHelper.signed_in?
server = ConfigFile.read_option(:server)
destroy_session(server)
- ConfigFile.delete
+ AuthHelper.sign_out
Uffizzi.ui.say('You have been successfully logged out')
end
end
end