I have successfully installed Bookstack from https://www.bookstackapp.com/docs/admin/installation/ and after logging out for an hour and logging back in, it is not allowing me to do so. Reset password option does not work either. I changed the password as well using MD5 in phpMyAdmin and ensured the email and role was correct. No matter what I can think of I can not log in or get the reset password to work. ANy ideas? Can not find support for this at all and all they have is GitHub https://github.com/BookStackApp/BookStack. Went through the GitHub files and have the mentioned resetpassword.php file uploaded.
答案 0 :(得分:0)
这可以通过CLI完成。 在CLI中,导航到您的Web目录(通常是/ var / www / bookstack之类的内容),然后执行以下命令
php artisan bookstack:create-admin
提示将允许您填写新管理员用户的数据。使用该用户登录,您应该能够重设原始帐户的密码。
您将无法使用同一封电子邮件(我不认为它会对电子邮件进行任何彻底的检查,因此仅需假冒即可)。