On 10.01.2011, at 04:11, Jeremy Mikola wrote:

> I believe these docs are all managed in the Git repo: 
> https://github.com/symfony/symfony-docs
> 
> So any errors should be fixable with a simple pull request :)


Right. Plus it should be noted that this is only a typo in the docs, if you 
look at the phpdoc in code its the right way:

    /**
     * Checks whether the user's account has expired.
     *
     * @return Boolean true if the user's account is non expired, false 
otherwise
     */
    function isAccountNonExpired();


> On Sun, Jan 9, 2011 at 9:43 PM, Tom Boutell <[email protected]> wrote:
> Please see:
> 
> http://docs.symfony-reloaded.org/master/guides/security/users.html
> 
> These seem to be backwards:
> 
> isAccountNonExpired(): Returns true when the user’s account has expired;
> isAccountNonLocked(): Returns true when the user is locked;
> isCredentialsNonExpired(): Returns true when the user’s credentials
> (password) has expired;
> 
> The "non" suggests that the idea is to always return true when things
> are kosher, false when they are not so good (:
> 
> The built in security mechanisms in 2.0 are quite impressive so far
> 
> --
> Tom Boutell
> P'unk Avenue
> 215 755 1330
> punkave.com
> window.punkave.com
> 
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
> 
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
> 
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
> 
> 
> 
> -- 
> jeremy mikola
> 
> -- 
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>  
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en

Lukas Kahwe Smith
[email protected]



-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to