Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug: AuthKey pin function does not return anything on success when using API #10491

@Wachizungu

Description

@Wachizungu

Actual behavior

You just get a HTTP 200 response with empty data:

Image

Expected behavior

You get a similar response as for authkey edit.

Steps to reproduce

Call the /auth_keys/pin/<auth_key_id>/ endpoint with the IP you are using.

Note that if you pin a different IP this way, the IP will be pinned, and you will actually get "It is not possible to use this Auth key from your IP address" as a response.

Version

2.5.20

Operating System

Ubuntu

Operating System version

24.04

PHP version

8.3

Browser

No response

Browser version

No response

Relevant log output

Extra attachments

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue has been automatically labelled and needs further triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions