如何在作曲家中删除保存用户名和密码(laravel 4) [英] How to remove save username and password in composer (laravel 4)

查看:77
本文介绍了如何在作曲家中删除保存用户名和密码(laravel 4)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用composer更新了我的laravel供应商.我已经购买了一个位于github私人仓库中的软件包.在下载作曲家询问用户名和密码时,我输入了错误的密码,因此给我一个错误.之后,我再次运行composer update,但是这次只保留了旧的错误密码,没有要求我再次输入密码,有点保存在composer缓存中.如何删除作曲家中的旧密码?

I have updated my laravel vendor using composer. I have bought a package which is located in a github private repo. On downloading composer ask username and password, I have entered the wrong password so it gives me an error. After that I run composer update again but this time it just keep the old wrong password it did not ask me to enter the password again, somewhat save in composer cache. How could I remove the old password in composer?

推荐答案

在您的~/.composer中,您将有一个名为config.json的文件,其中包含用于在GitHub上登录的OAuth令牌.

In your ~/.composer, you'll have a file named config.json which contains OAuth token used to log you in GitHub.

清除您的OAuth令牌或删除此文件.

Clear your OAuth token or delete this file.

这篇关于如何在作曲家中删除保存用户名和密码(laravel 4)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆