This question about Registration: Task filed

How to do Bulk Registration with preset passwords

We are finally switching our office over from TWiki to Foswik so I want to bulk register everyone to save them the trouble. As we all have open accounts and people don't like having to remember yet another password, we have set the User Registration to automatically give eveyone the password "wiki" and also preset this on the login page. How can I apply this principle to Bulk Registration so it doesn't assign everyone a random new password?

Thanks

Tamsin

-- TamsinTweddell - 28 Mar 2012

Is there some reason you can't use the existing registrations on Foswiki? Foswiki should be backwards compatible with the .htpasswd and User registration topics from TWiki.

-- GeorgeClark - 29 Mar 2012

True, but there are many people who were never registered on TWiki.

-- TamsinTweddell - 29 Mar 2012

In looking at the code,it appears to use a column in the table labeled Password to set the passwords.If undefined, a random password is generated by the registration process.

Just tested it on the upcoming 1.1.5, and it worked.Need to add two fields to the table
... Password Confirm
... asdfasdf asdfasdf
Without the Confirm field, registration crashed due to an uninitialized variable.That probably needs a task.

Hm.Also if the password doesn't meet the minimum length, the log says it fails, and then says it succeeds.And indeed the user is registered.I guess that's another task.

-- GeorgeClark - 29 Mar 2012

See Item11705 - covers both issues + documentation.

-- GeorgeClark - 29 Mar 2012

Thanks very much. I'll try it over the weekend.

-- TamsinTweddell - 30 Mar 2012

That's solved my problem. Thank you.

-- TamsinTweddell - 05 Apr 2012
 

QuestionForm edit

Subject Registration
Extension
Version Foswiki 1.1.2
Status Task filed
Related Topics Tasks.Item11705
Topic revision: r8 - 05 Apr 2012, TamsinTweddell
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy