You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-09-16 08:56:19 +02:00
Update focalboard endpoints to v2 namespace (#2781)
This commit is contained in:
committed by
GitHub
parent
42d24d279a
commit
4c61ae9623
@@ -15,7 +15,7 @@ Personal server settings are stored in `config.json` and are read when the serve
|
||||
| port | Server port | 8000
|
||||
| dbtype | Type of database. `sqlite3`, `postgres`, or `mysql` | sqlite3
|
||||
| dbconfig | Database connection string | `postgres://user:pass@localhost/boards?sslmode=disable&connect_timeout=10`
|
||||
| useSSL | Enable or disable SSL | false
|
||||
| useSSL | Enable or disable SSL | false
|
||||
| webpath | Path to web files | `./webapp/pack`
|
||||
| filespath | Path to uploaded files folder | `./files`
|
||||
| telemetry | Enable health diagnostics telemetry | `true`
|
||||
@@ -40,7 +40,7 @@ if [[ $# < 2 ]] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
curl --unix-socket /var/tmp/focalboard_local.socket http://localhost/api/v1/admin/users/$1/password -X POST -H 'Content-Type: application/json' -d '{ "password": "'$2'" }'
|
||||
curl --unix-socket /var/tmp/focalboard_local.socket http://localhost/api/v2/admin/users/$1/password -X POST -H 'Content-Type: application/json' -d '{ "password": "'$2'" }'
|
||||
```
|
||||
|
||||
After resetting a user's password (e.g. if they forgot it), direct them to change it from the user menu, by clicking on their username at the top of the sidebar.
|
||||
|
Reference in New Issue
Block a user