Anonymous login: how to keep the email field blank?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
armanic
Posts: 7
Joined: 15 Jun 2007, 07:54
Location: The Netherlands

Anonymous login: how to keep the email field blank?

Post by armanic »

Hi,

I set up an anonymous account following the Wiki document "Enabling Anonymous Access" (http://www.mantisbt.org/wiki/doku.php/m ... ous_access).
It suggests to leave the email field empty. But when doing so, an error is given on the user account update page: APPLICATION ERROR #1200 Invalid email. (Mantis version 1.1.0a3.)
If I fill in some non-existing email address, mail errors are reported on the server.

How to solve this problem?
Regards, Arman
vboctor
Site Admin
Posts: 1304
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

You have two options:

1. Create a forwarding email address that automatically deletes all mails sent to it (i.e. a dev null). Then use this as the email address for the anonymous account.

2. Set the allow blank email to ON. The disadvantage of this option is that other users will also be able to set their email to blank. But it is debatable that it is better to leave it empty than to give a bogus email address.

Code: Select all

# if ON, allow the user to omit an email field
# note if you allow users to create their own accounts, they
#  must specify an email at that point, no matter what the value
#  of this option is.  Otherwise they wouldn't get their passwords.
$g_allow_blank_email	= ON;
Migrate your MantisBT to the MantisHub Cloud
armanic
Posts: 7
Joined: 15 Jun 2007, 07:54
Location: The Netherlands

Post by armanic »

Thanks for your help.
Regards, Arman
Post Reply