CakePHP Auth ile ilgili sorunlar

0 Cevap php

I've been using CakePHP for some time now. But I still fail to solve some issues on my own. Its been difficult to understand how Cake Auth works but in these past few weeks I've managed to work with it.

Now to my issue: I have 2 separate tables(Say for Admin Users and Normal Users). Both have different Controllers (Lets say they are AdminsController and UsersController). Now I have completed Users module without any trouble. Users login and Admin Login are different views. As I dont want any normal User to be able to get their hands on Admin login page I've kept it separate from normal user login.

Kullanıcılar Auth ile ince işleri yapın. Ama şimdi ben AdminController ve kontrolünden ikinci Auth otomatik olarak Kullanıcılar oturum aktaran yararlanmak için alamıyorum nedense AdminController için başka Yet kullanmak istiyorum

Birisi doğru yönde işaret olabilir, çok iyi olurdu. Lütfen!

Teşekkür ederiz. Peşin!

P.S.: Ben de kullanarak denedim Auth-> userModel

0 Cevap