Line: 69 to 69 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | The NoPasswdUser case is not handled | |||||||
> > | The NoPasswdUser case is not handled.
An admin user can change other user's passwords. | |||||||
Line: 98 to 100 | ||||||||
these two are separate in here to ease the implementation of administrator approval | ||||||||
Deleted: | ||||||||
< < | generate user entry If a password exists (either in Data{PasswordA} or data{CryptPassword}, use it. Otherwise generate a random one, and store it back in the user record. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | Package =TWiki::UI::RegisterUser registration handling.
On this page:
StaticMethod register_cgi ($session)register command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
StaticMethod passwd_cgi ($session)passwd command handler.
This method is designed to be
invoked via the TWiki::UI::run method.
StaticMethod bulkRegister ($session)Called by ManageCgiScript::bulkRegister (requires authentication) with topic = the page with the entries on it.
StaticMethod *registerAndNext ($session,$tempUserDir)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 driven
StaticMethod register ($session)This is called through: TWikiRegistration -> RegisterCgiScript -> here
StaticMethod resetPassword ($session)Generates a password. Mails it to them and asks them to change it. Entry point intended to be called from TWiki::UI::run
StaticMethod changePassword ($session)Change the user's password and/or email. Details of the user and password are passed in CGI parameters.
The NoPasswdUser case is not handled
StaticMethod *verifyEmailAddress ($session,$tempUserDir)This is called: on receipt of the activation password -> RegisterCgiScript -> here
StaticMethod *finishPresently this is called in RegisterCgiScript directly after a call to verify. The separation is intended for the RegistrationApprovals functionality
reloads the context by code these two are separate in here to ease the implementation of administrator approval
generate user entry If a password exists (either in Data{PasswordA} or data{CryptPassword}, use it. Otherwise generate a random one, and store it back in the user record. |