Login: remember last value of "Restrict this session" box for the next Login

NEW
Unassigned

Status

()

--
enhancement
14 years ago
4 years ago

People

(Reporter: avneryt, Unassigned)

Tracking

Details

(Whiteboard: [lang=perl] )

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8a) Gecko/20040519 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8a) Gecko/20040519 Firefox/0.8.0+

On the Login form, the following checkbox appears:
"Restrict this session to this IP address:"
Wish: save the last status , either checked or not, for the next login, and give
it as the default.


Reproducible: Always
Steps to Reproduce:
1. Enter a bug
2. Login: un-check the "restrict this session.." box
3. Later, enter another bug, requiring another Login

Actual Results:  
The "Restrict this session to this IP address:" box is checked

Expected Results:  
The box should be un-checked

I assume that users with a fixed IP will want the box to stay checked, while the
other users will want the box to always be un-checked.
Remembering the last status will achieve this easily.
If it's asking you to log in again, then you probably have cookies disabled. 
And the only way we could remember such a thing without the user being logged in
already would be to set a cookie.
Severity: minor → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows ME → All
Hardware: PC → All
(Reporter)

Comment 2

14 years ago
(In reply to comment #1)
> If it's asking you to log in again, then you probably have cookies disabled. 
> And the only way we could remember such a thing without the user being logged in
> already would be to set a cookie.
The cookies are enabled from day 1. "Enable cookies", "Accept cookies normally".
The login form auto-completes my eMail and the password.
I would suggest remembering the check-box status in the same place.
The login form auto-completing is a function of your browser, not of Bugzilla. 
Is this on bugzilla.mozilla.org, or on some other Bugzilla where you're having
to log in again all the time?
(Reporter)

Comment 4

14 years ago
I get the Login at http://bugzilla.mozilla.org/enter_bug.cgi .
It appears once between startup and shutdown of the PC, not all the time.
Since it's Firefox saving the 2 fields, should my wish be a Firefox enhancement
bug instead of Bugzilla?
(Reporter)

Comment 5

14 years ago
Another thing: I got the Login form after clicking "Commit" for comment #4.
Ah, but it's only once in a while, and not every time you change something,
right?  If you're on a dynamic IP address, then getting a login screen each time
you first visit Bugzilla after logging into your ISP is normal.

Setting a cookie with your last value for restrict would work then.
(Reporter)

Comment 7

14 years ago
(In reply to comment #6)
> Ah, but it's only once in a while, and not every time you change something,
> right?  
> Setting a cookie with your last value for restrict would work then.
True.
So you accept with my suggestion (?)
(Reporter)

Comment 8

14 years ago
Oops.. "accept my suggestion". Sorry.
yeah, makes sense to set a cookie for that.

Updated

12 years ago
QA Contact: mattyt-bugzilla → default-qa

Updated

12 years ago
Assignee: myk → user-accounts

Comment 10

9 years ago
I know that this a old "bug" here, but I am experiencing the same situation as the caller. Is there a cookie to solve this problem, or has there been no change until now?

I would agree that such a cookie is a nice feature, but for me it would be sufficient if the users could set this value in their options. Or is there a possibility to uncheck this box by default for every user? I couldn't find one in the administration part of the bugzilla-page.
Whiteboard: [good first bug][lang=perl]
:glob- is this still a worthwhile bug to fix?  If so, and if this makes a good first bug, can you link to the code, how to reproduce this problem, and what an ideal fix looks like?  Also please assign a mentor for this bug.
Flags: needinfo?(glob)
(In reply to Joel Maher (:jmaher) from comment #11)
> can you link to the code, how to reproduce this problem, and
> what an ideal fix looks like?

steps to reproduce are in comment 0, ideal fix is in comment 6.
this can be done with javascript in the login template - template/en/default/account/auth/login.html.tmpl

> Also please assign a mentor for this bug.

no, but if someone wants to mentor this bug they can add themselves to this bug.
Flags: needinfo?(glob)
removing the [good first bug] tag as we should have a mentor with them.  Also where is the codebase for this bug?
Whiteboard: [good first bug][lang=perl] → [lang=perl]

Comment 14

4 years ago
(In reply to Joel Maher (:jmaher) from comment #13)
> removing the [good first bug] tag as we should have a mentor with them. 
> Also where is the codebase for this bug?

Seriously, it doesn't make sense to mention where the codebase is located in each bug. Contributors should visit http://www.bugzilla.org/contribute/ first.
No longer blocks: 1126453
You need to log in before you can comment on or make changes to this bug.