MantisBT - v3.4 Release (Current)
View Issue Details
0001641v3.4 Release (Current)User Adminpublic2014-12-01 02:522019-01-03 12:53
Assigned Tocaseydk 
PlatformUnixOSLinux UbuntuOS Version11.04
Product Version 
Target VersionFixed in Version 
Summary0001641: users cannot login except admin
DescriptionUsers cannot login after upgrade from 3.0 to 3.3
It shows "Login Failed"

No error on apache and php error log
TagsNo tags attached.
has duplicate 0001645closed caseydk v3.3 Release Only default user admin can login. 
Attached Files

2014-12-06 13:07   
Have you tried resetting passwords?
2014-12-09 11:21   
(Last edited: 2014-12-09 11:22)
Alternatively, do any of the Roles have permissions assigned?

2014-12-12 01:11   
Yes, try to reset the password using admin account and change Roles to other roles.

I've test by creating a new user and assign a role, the new user can login normally.
2014-12-12 10:41   
So it sounds like this was just new users lacking a Role?
2014-12-14 22:48   
No. New users created are fine.
Only existing users except admin cannot login
2015-01-21 19:02   
The new installation have same problem now, new user created cannot login.
2015-02-08 07:12   
I had the same problem with a username containig a dot ( . )

When I created another user without the dot, it worked
The I changed the username with the dot to a name without the dot (had to do that using PHPMuAdmin), after that the user could log in
2015-02-17 11:04   
Take a look at <w2proot>/classes/w2p/Core/CAppUI.class.php

Edit line 789
change it from
    $user_id = $auth->userId();
    $user_id = $auth->userId($username):

This fixed the problem for me. I found the solution in a post by mhillsmt on Feb 4.

The post is specific to LDAP authentication, but seems to affect all authenticators other than the system default SQL.
2015-03-19 02:44   
Hi all,

I've the same problem : since upgrading from v.3.0.0-rc1 to the last version, users with a login containing a dot (.) cannot log into web2project.

Only the admin account (so, without a dot in username) can.

For information, I don't use LDAP authentication.

The solution previously proposed (edit line 789 from file "<w2proot>/classes/w2p/Core/CAppUI.class.php") couldn't fix the problem.

Any idea ?

2015-04-10 22:44   
I've tweaked the filter to allow periods in usernames here:
2019-01-03 12:53   
In the 31 Dec 2018 release:

Issue History
2014-12-01 02:52tbsgroupNew Issue
2014-12-06 13:07caseydkNote Added: 0003726
2014-12-06 13:07caseydkAssigned To => caseydk
2014-12-06 13:07caseydkStatusnew => feedback
2014-12-09 11:21caseydkNote Added: 0003727
2014-12-09 11:22caseydkNote Edited: 0003727bug_revision_view_page.php?bugnote_id=3727#r123
2014-12-12 01:11tbsgroupNote Added: 0003730
2014-12-12 01:11tbsgroupStatusfeedback => assigned
2014-12-12 10:41caseydkNote Added: 0003731
2014-12-14 22:48tbsgroupNote Added: 0003732
2015-01-21 19:02tbsgroupNote Added: 0003740
2015-01-29 22:11caseydkRelationship addedhas duplicate 0001645
2015-02-08 07:12thhewebmasterNote Added: 0003742
2015-02-17 11:04densodaveNote Added: 0003743
2015-03-19 02:44cedricjNote Added: 0003745
2015-04-10 22:44caseydkNote Added: 0003746
2015-04-10 22:44caseydkStatusassigned => resolved
2015-04-10 22:44caseydkFixed in Version => 3.3
2015-04-10 22:44caseydkResolutionopen => fixed
2016-12-26 23:37caseydkProjectv3.3 Release => v3.4 Release (Current)
2019-01-03 12:53caseydkNote Added: 0003930
2019-01-03 12:53caseydkStatusresolved => closed