View Issue Details

IDProjectCategoryView StatusLast Update
0003424mantisbtbugtrackerpublic2006-07-22 16:01
Reportersambirsb Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.17.5 
Fixed in Version1.1.0a1 
Summary0003424: Save login feature does not work
Description

I’ve selected the “Save Login” box when I login, and I still have to re-type my user name and password every time I login. I’ve tried lowering the privacy setting on my web browser, but it doesn’t make a difference

TagsNo tags attached.

Relationships

parent of 0007299 closedvboctor Port: Save login feature does not work 
related to 0006816 closeddhx Rename "save login" string to reduce confusion about what it does 
related to 0003696 feedback Save login name in a cookie 

Activities

annpatel

annpatel

2005-04-29 13:22

reporter   ~0009968

Any progress on this issue? I have the latest version of Mantis installed and the Save Login feature does not work.

annpatel

annpatel

2005-04-29 13:22

reporter   ~0009969

Any progress on this issue? I have the latest version of Mantis installed and the Save Login feature does not work.

thraxisp

thraxisp

2005-04-29 14:38

reporter   ~0009971

Are you still using 0.17.5?

Can you give more details on the mantis version, server version and browser?

annpatel

annpatel

2005-04-29 16:05

reporter   ~0009975

There must be a parameter or setting I am missing because I noticed that the login for this Mantis does retain the username and password. I am using Mantis 19.2, IE 6.0. Mantis is setup on IIS.

david_s_nl

david_s_nl

2005-04-30 13:40

reporter   ~0009978

Last edited: 2005-05-02 10:39

I have noticed the following:

  1. If you use this link to go to mantis: http://bugs.mantisbt.org/login_page.php
  2. Enter your username + password + checkbox 'save login'
  3. Close your internet browser
  4. Go to http://bugs.mantisbt.org/login_page.php

Then ofcourse you get the 'login page' !

So in step 4 go to Go to http://bugs.mantisbt.org/ instead.... then you're logged in.

Frescard

Frescard

2006-03-01 13:55

reporter   ~0012258

Last edited: 2006-03-01 13:57

I guess people expect the form to be pre-filled when they visit it after having checked off 'Save Login'.

Since the password isn't stored in clear format anywhere, we can't fill in that field, but to pre-fill the username, you could add this code to your login_page.php:

Between the "echo '<div>'" and the "?>" (line 55) add:

$t_cookie_string = auth_get_current_user_cookie();
if ( auth_is_cookie_valid( $t_cookie_string ) ) {
$t_current_id = auth_get_current_user_id();
if ($t_current_id<>0) {
$t_current_user = user_get_name($t_current_id);
}
}

and then, in the username input field, add:

value="<? echo $t_current_user ?>"

bscott

bscott

2006-03-27 16:36

reporter   ~0012421

I was able to get the autocomplete of login and password to work when I set the session.save_path variable in php.ini. Hope this helps.

vboctor

vboctor

2006-04-25 08:35

manager   ~0012715

The auto-login now works when the user uses http://www.example.com/mantis/ or http://www.example.com/mantis/login_page.php. The user is now also redirected to the default home page, rather than always to main_page.php.