0
0

More than 3 years have passed since last update.

Pterodactyl Panelで、2FAコードが取得できなくなってログインできなくなった時の処置

Last updated at Posted at 2020-04-26

パスワードを再発行しても、2FA認証は解除されない

2FA認証が出来ない状況でもパスワードの再発行はできましたが、新しいパスワードでログインを試行しても2FAコードが要求されてしまう。

コントロールパネルには2FA設定を解除する項目が無かった

screenshot_20200426_220354.png
screenshot_20200426_220438.png

解決策

職人(artisan)に頼み込んで、強制的に2FA認証を取り消す

php artisan p:user:disable2fa --email=user@example.com

※チュートリアルページにあるように{}を付けると、

Too many arguments, expected arguments "command".

と怒られてしまう~。

→{--hello-world}はドキュメント簡略化のためにオプションの意味であると、上部にしっかり書かれていました。お恥ずかしい...

環境

Version Information
===================

 Panel Version     0.7.17
 Latest Version    0.7.17
 Up-to-Date        Yes
 Unique Identifier user@example.com

参考リンク

Artisan CLI - Pterodactyl community

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0