Package TWiki::UI::Register
User registration handling.
On this page:
Static Method register_cgi ($session)
register command handler.
This method is designed to be
invoked via the UI::run method.
Static Method bulkRegister ($session)
Called by Manage Cgi Script? ::bulkRegister (requires authentication) with topic = the page with the entries on it.Static Method registerAndNext ($session)
This is called when action = register or action = "" It calls register and either Verify or Finish. Hopefully we will get workflow integrated and rewrite this to be table drivenStatic Method register ($session)
This is called through: TWiki Registration -> Register Cgi Script? -> hereStatic Method resetPassword ($session)
Generates a password. Mails it to them and asks them to change it. Entry point intended to be called from UI::runStatic Method changePassword ($session)
Change the user's password and/or email. Details of the user and password are passed in CGI parameters.- Checks required fields have values
- get wikiName and userName from getUserByEitherLoginOrWikiName(username)
- check passwords match each other, and that the password is correct, otherwise 'wrongpassword'
- TWiki::User::updateUserPassword
- 'oopschangepasswd'
Static Method verifyEmailAddress ($session)
This is called: on receipt of the activation password -> Register Cgi Script? -> here- calls _loadPendingRegistration(activation password)
- throws oops if appropriate
- calls emailRegistrationConfirmations
- still calls 'oopssendmailerr' if a problem, but this is not done uniformly
| Topic TWikiUIRegisterDotPm . { Edit | Attach | Backlinks: Web All webs | Printable | History: r5 < r4 < r3 < r2 < r1 More } |