FriendsOfSymfony/FOSUserBundle — pull request #533 by simensen (2012-02-12 04:21:16+00:00)
Title: Give generateToken() the notion of a max length

This feature could be useful for a project that needs user related tokens to be generated but might not want a string that is as long as the strings `generateToken` returns natively.