1
0
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:
Miguel de la Cruz
2022-04-13 22:24:32 +02:00
committed by GitHub
parent 42d24d279a
commit 4c61ae9623
13 changed files with 14754 additions and 3315 deletions

View File

@@ -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.