Hey
I have credentials for each module i build.
For example:
# Module abc have the security.yml:
all:
credentials: 6
But i can access my module abc even without the credential 6.
The results of the hasCredential are strange too, because i always get
1 from them, even if i remove the
Your security.yml needs to specify the required credentials, for example:
default:
is_secure: on
credentials: admin
Then don't forget to clear cache
On Thu, Mar 25, 2010 at 11:24 PM, wueb webmaster@gmail.com wrote:
Hey
I have credentials for each module i build.
For example:
#
Another thing...
I think you confuse authentication and credential.
is_secure is only checking whether the user has logged in or not
(authentication), it doesn't check the credentials.
A user can still logged in (authenticated) without having any credential.
On Thu, Mar 25, 2010 at 11:26 PM,