fat_free_crm icon indicating copy to clipboard operation
fat_free_crm copied to clipboard

Ffcrm as Engine doesn't authenticate

Open froy001 opened this issue 7 years ago • 1 comments

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>

froy001 avatar Jan 26 '18 06:01 froy001

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

ain avatar Nov 11 '18 21:11 ain