John W. Long wrote:
> Aitor Garay-Romero wrote:
>>    There is a bug in current release that prevents the default user to be
>> created when using sqlite3.
> 
> It works fine with the version I'm using (3.3.7). Could you do a little
> investigation on this and see if you can figure out what the problem is
> with the source? I'm happy to push changes in, but I'm not experiencing
> this problem myself.

When I change setup.rb (lib/radiant) so that the attributes hash in 
create_admin_user has an email field as well, the admin user gets 
created. (line 39 in setup.rb)

      attributes = {
        :name => name,
        :login => username,
        :password => password,
        :password_confirmation => password,
        :admin => true,
        :email => "[EMAIL PROTECTED]"
      }

This is of course just a quick workaround.

Patrick


-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to