[FLOW3-general] Trouble authenticating, hashes don´t match

Robert Böttner robert at boettner.it
Wed Oct 24 18:54:36 CEST 2012


Hi all,

I can´t get a simple login authentication working.

I´m using FLOW3 1.1.0

These are my global security settings:


TYPO3:
 FLOW3:
   security:
     enable: TRUE
     authentication:
       providers:
         DefaultProvider:
           provider: PersistedUsernamePasswordProvider
           entryPoint: 'WebRedirect'
           entryPointOptions:
             uri: 'login'


Upon user creation everything is working fine. I am testing with new users created under the recent configuration. The users account is created with a bcrypted password and the provider is stored correctly in the db.

When authenticating password validation fails because the stored hashed password and the generated hash for comparison fails.

stored pw:
string '$2a$14$dNkc66zVU.JIMkOrP4GpkezX9fmrplz6WAg2WiM/s7AOrgYj92K2.' (length=60)

entered pw:
string '$2a$14$dNkc66zVU.JIMkOrP4Gpke5sE/qdYz4zPEQ/nvaLO.Ld1k0j7Vn/m' (length=60)

I cleared the cache and set file permissions, Data/Persistent/EncryptionKey gets written upon request and the user I am testing with has been created with this key. Do I miss any configuration?

Kind regards
Robert.


More information about the FLOW3-general mailing list