[PR #5596] [CLOSED] Add an artisan command to change password #6524

Closed
opened 2026-02-05 10:34:41 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5596
Author: @ChrisHills463
Created: 4/30/2025
Status: Closed

Base: developmentHead: add-artisan-change-password


📝 Commits (1)

  • 8bae692 Add an artisan command to change password

📊 Changes

1 file changed (+84 additions, -0 deletions)

View changed files

app/Console/Commands/ChangePasswordCommand.php (+84 -0)

📄 Description

With this change you can change a password from the cli with artisan. This is especially useful when automating the deployment of BookStack using Ansible or similar.

Usage:-

php artisan bookstack:change-password --email admin@admin.com --password Sup3rS3cur3Pa55w0rD


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/5596 **Author:** [@ChrisHills463](https://github.com/ChrisHills463) **Created:** 4/30/2025 **Status:** ❌ Closed **Base:** `development` ← **Head:** `add-artisan-change-password` --- ### 📝 Commits (1) - [`8bae692`](https://github.com/BookStackApp/BookStack/commit/8bae6921c0c5a5f903764f101498854ecb87735c) Add an artisan command to change password ### 📊 Changes **1 file changed** (+84 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `app/Console/Commands/ChangePasswordCommand.php` (+84 -0) </details> ### 📄 Description With this change you can change a password from the cli with artisan. This is especially useful when automating the deployment of BookStack using Ansible or similar. Usage:- ```php artisan bookstack:change-password --email admin@admin.com --password Sup3rS3cur3Pa55w0rD``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:34:41 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6524