View Issue Details

IDProjectCategoryView StatusLast Update
0010080mantisbtauthenticationpublic2009-06-26 12:01
Reporterselect Assigned Togiallu  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version8.10
Product Version1.1.6 
Summary0010080: Anonymous enabled won't let users login
Description

I have created an account named "Anonymous" and have let viewers submit bugs to my project. The only problem is once an admin/user logs out, there is no way to log back in, because it always defaults to the Anonymous user account.

Tagsissue, usability

Activities

giallu

giallu

2009-01-25 06:45

reporter   ~0020702

So I guess you put in your config file something like:

$g_allow_anonymous_login = ON;

So, what's the value of:

$g_anonymous_account ?

giallu

giallu

2009-01-25 09:11

reporter   ~0020705

oh, and to be clear: activating the anonymous feature is supposed let your visitors go straight to "logged in" state with the defined user. As a side effect, if you actually log in with that very same user, the system would notice it is the anonymous one and switch the interface to the anonymous mode.

Of course, this is true just for that single user. All the other ones are unaffected.

select

select

2009-01-26 17:03

reporter   ~0020720

Last edited: 2009-01-26 17:04

Config:
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'anonymous';

I can't use the login/logout because it just redirects me back to the Anonymous page without asking for my password

(My username is "Administrator")

giallu

giallu

2009-01-26 17:16

reporter   ~0020721

that's weird... can you try deleting your cookies and/or with another browser?

select

select

2009-01-26 18:12

reporter   ~0020722

Confirmed in Internet Explorer as well (I use Firefox). Clicking "Logout" has no effect, and login.php redirects me back to my_view_page.php

giallu

giallu

2009-01-26 18:25

reporter   ~0020723

I'm really confused here (sorry...). I'd try redoing the procedure from scratch: disable anon logins on config, that would let you login again, then create two new users, give one "administrator" rights and the other "viewer" rights.

Then reactivate anonymous logins using the viewer account and retry

select

select

2009-02-01 18:02

reporter   ~0020764

Thanks, that seemed to work.

giallu

giallu

2009-02-02 02:51

reporter   ~0020765

ok. then I assume this is nothing to fix on our side (apart maybe the documentation ;) )

thank you.