From 88ba5cd4e586dfd00f900d9976fdddca2548e231 Mon Sep 17 00:00:00 2001 From: "T.Yajima" Date: Thu, 25 Jul 2024 10:23:17 +0900 Subject: [PATCH] fix: corrected one of the notations --- ja/tutorials-and-examples/blog-auth-example/auth.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ja/tutorials-and-examples/blog-auth-example/auth.rst b/ja/tutorials-and-examples/blog-auth-example/auth.rst index 563242b7fd..b07fe9383a 100644 --- a/ja/tutorials-and-examples/blog-auth-example/auth.rst +++ b/ja/tutorials-and-examples/blog-auth-example/auth.rst @@ -255,7 +255,7 @@ composerを使ってAuthenticationプラグインをインストールします デフォルトでは、認証情報はリクエストデータの ``email`` と ``password`` フィールドから 抽出されます。認証結果は ``authentication`` という名前のリクエスト属性に注入されます。 この結果はいつでもコントローラのアクションから -``$this->request->getAttribute('authentication')``を使って調べることができます。 +``$this->request->getAttribute('authentication')`` を使って調べることができます。 すべてのページは ``AuthenticationComponent`` がリクエストごとに結果をチェックしているため、 制限されてしまいます。認証されたユーザを見つけられなかった場合は ユーザーを ``/users/login`` のページにリダイレクトします。