Skip to content

TOTP の認証失敗で 500 Internal Server Error が返ってくる #17522

@nekochanfood

Description

@nekochanfood

💡 Summary

TOTP を使ったアカウント認証をするとき、誤ったワンタイムパスワードを入力すると 500 Internal Server Error が返ってくる

🥰 Expected Behavior

400 エラーかつワンタイムパスワードが違う旨のエラーが返ってくる(パスワードとペアの場合はどちらが間違っているか曇らせたほうがいいかもしれない)

🤬 Actual Behavior

500 Internal Server Error が返ってくる

📝 Steps to Reproduce

  1. パスキー(セキュリティキー)を作ろうとする
  2. パスワードを入力し、間違ったワンタイムパスワードを入力して次へ進む
  3. 500 Internal Server Error が返ってくる

💻 Frontend Environment

* Model and OS of the device(s): Windows 11 25H2
* Browser: 148.0.7778.216 (Official Build) (64-bit) (cohort: 148.0.7778.216 Rollout) 
* Server URL: nekolobby.niri.la
* Misskey: 2026.5.4-kinel.2

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions