Hi,
I have a fresh foreman install, and with login:false I get an error: Validation
failed: authentication source can not be empty
I tried to set it to login: true, but when I do that, the default
credentials of admin/changeme do not work, and the following is logged:
Processing by UsersController#login as HTML
Parameters: {"login"=>{"login"=>"admin", "password"=>"[FILTERED]"},
"utf8"=>"â",
"authenticity_token"=>"46PTtpv9sKc/v/mKHU6UpPDgu8ZaeCb9pL6yOtFXN+o=",
"commit"=>"Login"}
invalid user
Has anyone seen this before?
Thanks.
Try running "foreman-rake db:seed" as root, which should re-create the
admin/changeme user.
···
On 19/02/14 19:18, Shawn Burgess wrote:
> Hi,
>
> I have a fresh foreman install, and with login:false I get an error:
> Validation failed: authentication source can not be empty
>
> I tried to set it to login: true, but when I do that, the default
> credentials of admin/changeme do not work, and the following is logged:
>
> Processing by UsersController#login as HTML
> Parameters: {"login"=>{"login"=>"admin", "password"=>"[FILTERED]"},
> "utf8"=>"â",
> "authenticity_token"=>"46PTtpv9sKc/v/mKHU6UpPDgu8ZaeCb9pL6yOtFXN+o=",
> "commit"=>"Login"}
> invalid user
>
> *Has anyone seen this before?*
–
Dominic Cleal
Red Hat Engineering