fat_free_crm
fat_free_crm copied to clipboard
Ffcrm as Engine doesn't authenticate
When following the instructions for the engine install here entering username and password of existing admin doesn't authenticate.
stack: Os: Ubuntu 16.04 Db: postgress 9.6 Ruby 2.3.5 Rails 4.2.6 FFcrm gem 0.14.1
I tracked byebug /controllers/authentication and found out that while params have the credentials, and the user is found in the db with the correct password and role.
In the create action the first line
@authentication = Authentication.new(params[:authentication])
returns
#<Authentication: no credentials provided>
Reproduced on Rails 5.1.6 as well, same problem.
Database is migrated, tables are there, but it remains empty after ffcrm:setup
runs through:
> select * from users;
Empty set (0.00 sec)
Platform:
Rails 5.1.6
Ruby 2.5.3
MariaDB 10.1.37