-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item652: Item710: Item2196: Failed registration
These tasks all report the failure where the misconfigured email server leaves partially registered users that require manual intervention. I don't see how this prevents spam registration. If Net::SMTP or sendmail is configured correctly, bad domains or user addresses result in a bounce, not a SMTP protocol failure. At least I've not been able to create an issue where sending email fails with a correctly configured server. This fix removes the "backout" of the user registration when SMTP fails. It leaves the user registered, but not logged in. The solution for SPAM registrations is to use confirmation. This fix also adds a "catch" for a save failure. If the user topic cannot be saved (for example due to AntiWikiSpamPlugin), the fail is caught and the registration is backed out. Finally the removeUser function removed the user from the password manager, but did not remove the user from the WikiUsers mapping topic. Refactored the addUser code to also support removing a mapped user. git-svn-id: http://svn.foswiki.org/trunk@14195 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
GeorgeClark
authored and
GeorgeClark
committed
Mar 3, 2012
1 parent
1431b63
commit facec08
Showing
2 changed files
with
54 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters