Change this line:

user.password = user.confirm_password = "abcdef"


To look like this:

user.password = user.password_confirmation = "abcdef"

Then try it again.

Sean


kohlbauer wrote:
> No - I get get the error: Validation failed. Password confirmation required.
>
> best regards
> klaus
>
> ----- Original Message ----- 
> From: "John W. Long" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, November 06, 2007 12:04 AM
> Subject: Re: [Radiant] Problems with Login
>
>
>   
>> Can you successfully create a user from the console?
>>
>> user = user.new
>> user.name = "John"
>> user.login = "john"
>> user.password = user.confirm_password = "abcdef"
>> user.save!
>>
>> or something like that.
>>
>> --
>> John Long
>> http://wiseheartdesign.com
>>
>> On Nov 5, 2007, at 5:58 PM, Mark Gallop wrote:
>>
>>     
>>> Hi John,
>>>
>>> John W. Long wrote:
>>>       
>>>> Radiant may not be compatible with Sql Server. Can you run the
>>>> migrations without errors?
>>>>
>>>>         
>>> No error messages get shown. From what I remember, you just don't see
>>> any of the migration output telling you about each table being  
>>> created.
>>> I only realised something was wrong when I tried logging in and then I
>>> migrated using a sqlite database to see what I should be seeing.
>>>
>>> Cheers,
>>> Mark
>>> _______________________________________________
>>> Radiant mailing list
>>> Post:   [email protected]
>>> Search: http://radiantcms.org/mailing-list/search/
>>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>>       
>> _______________________________________________
>> Radiant mailing list
>> Post:   [email protected]
>> Search: http://radiantcms.org/mailing-list/search/
>> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>>     
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
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