GoToSocial: Support account security settings

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-07-26 15:56:13 +02:00
parent ebb5f30eac
commit 57efcaf35c
3 changed files with 51 additions and 21 deletions

View File

@ -877,8 +877,11 @@ const getInstanceFeatures = (instance: Instance) => {
* @see POST /api/pleroma/change_password
* @see POST /api/pleroma/change_email
* @see POST /api/pleroma/delete_account
* @see POST /api/v1/user/email_change
* @see POST /api/v1/user/password_change
* @see POST /api/v1/accounts/delete_account
*/
security: v.software === PLEROMA,
security: any([v.software === PLEROMA, v.software === GOTOSOCIAL]),
/**
* Ability to manage account sessions.