也许颓废也是 ... 另一种美
一个学习了N年还是小白的网络爱好者 ...

Ghost Blog Resetting your Ghost Blog password

Didn’t set up Mailgun in your Ghost blog, and lost your password? Hmm. A little bit of fancy-footwork, and we can be back up and running in no time.

You’ll need to reset the password in the SQLite DB by manually inserting a new hash into the DB.

Get access to your DB from the console, or through a gui tool if you have it. If you are going through the console, CD to your ghost webroot, (the DB is under content/data/) and then type: sqlite3 ghost.db Generate a temporary BCrypt hash (Find a generator online. I used this one: http://bcrypthashgenerator.apphb.com/) Or just use this hash which is for

password”:
$2a$10$BQToDNdBtBKCvnrTmMi5m.NK.7i6Qx7YASs.jTkE86I5zqxzE8klC

Type UPDATE users SET password='<>’ WHERE email = ‘<>’ Type .exit to exit sqlite3 Log into your blog, and change your password to something secure. Set up an email service at Mailgun as detailed here: http://docs.ghost.org/mail/

原文地址:http://www.farmsoftstudios.com/blog/2014/01/web-applications/resetting-your-ghost-blog-password/

未经允许不得转载:颓废的美 » Ghost Blog Resetting your Ghost Blog password
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址