Skip to content

Commit

Permalink
Merge pull request #7888 from Tatsurou-Yajima/fix/ja-4-0-auth.rst
Browse files Browse the repository at this point in the history
[4.x] Corrected one of the notations in auth.rst (ja)
  • Loading branch information
markstory committed Jul 25, 2024
2 parents 5699a9d + 88ba5cd commit 07b3aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ja/tutorials-and-examples/blog-auth-example/auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ composerを使ってAuthenticationプラグインをインストールします
デフォルトでは、認証情報はリクエストデータの ``email`` と ``password`` フィールドから
抽出されます。認証結果は ``authentication`` という名前のリクエスト属性に注入されます。
この結果はいつでもコントローラのアクションから
``$this->request->getAttribute('authentication')``を使って調べることができます。
``$this->request->getAttribute('authentication')`` を使って調べることができます。
すべてのページは ``AuthenticationComponent`` がリクエストごとに結果をチェックしているため、
制限されてしまいます。認証されたユーザを見つけられなかった場合は ユーザーを ``/users/login``
のページにリダイレクトします。
Expand Down

0 comments on commit 07b3aff

Please sign in to comment.