CakephpのAuthComponentに認証なしのAction追加

Mar 3, 2011
AD:

Cakephpで構築したサイトにAuthComponentを使用して、ユーザ機能を実装していた際に、
微妙に悩んだのが、UsersControllerの中で、addのアクションだけ、認証の必要なしにアクセスするの方法です。
答えは、beforeFilterに、$this->Auth->allow(‘add’);を入れれば解決でした。

Related posts

AD:

No Comments, Comment or Ping

Reply to “CakephpのAuthComponentに認証なしのAction追加”

You must be logged in to post a comment.

Search Keyword

Meta

face Ayumi Mizoshiri
WEB developer

FacebookPage

Popular Posts

Sorry. No data so far.

ARCHIVES