View Issue Details

IDProjectCategoryView StatusLast Update
0006235mantisbtadministrationpublic2008-08-11 09:42
Reporterbrunob Assigned Tograngeway  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc2 
Fixed in Version1.2.0a2 
Summary0006235: Impossible to select a user with empty user name
Description

I was editing a user's properties, I have entered an empty user name and confirmed. Since then it is not possible to select the user to edit its properties again.

Additional Information

I tried the empty user name becouse I have not yet understood how to set Mantis for an anonymous access (so that it takes directly to ne main page without askin for login)

TagsNo tags attached.

Activities

vboctor

vboctor

2005-09-12 07:22

manager   ~0011369

The user must not be allowed to set the user name to an empty string. This will need to be fixed. However, you will probably need to fix this user manually in your database using a tool like phpMyAdmin.

To setup Mantis for anonymous access, you will need to do the following:

  • Create a user with the name "anonymous" or something similar.
  • Give the user the rights you want the anonymous users to have.
  • Set $g_allow_anonymous_login = ON in config_inc.php.
  • Set $g_anonymous_account = 'anonymous' or whatever name you have chosen in the first step.
grangeway

grangeway

2008-07-30 19:44

reporter   ~0018942

Additional check added to user_name_is_valid to ensure a username can't be empty string (in case where the default regex is modified)