[ZBX-8657] "Remember me for 30 days" checkbox is always checked on login form Created: 2014 Aug 25  Updated: 2017 May 30  Resolved: 2014 Sep 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.2.5
Fix Version/s: 2.2.7rc1, 2.3.5

Type: Incident report Priority: Trivial
Reporter: Kazuo Ito Assignee: Kazuo Ito
Resolution: Won't fix Votes: 0
Labels: frontend, userprofiles
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBXNEXT-2426 Remember the auto-login configuration... Open

 Description   

"Remember me for 30 days" checkbox is always checked on login form. It's not possible to remove check even if auto-login is disabled on user profile configuration.

1) choose user profile.
2) disable checkbox auto-login.
3) click to save
4) logout
5) login



 Comments   
Comment by richlv [ 2014 Aug 25 ]

could this be the same as ZBX-8051 ?

Comment by Kazuo Ito [ 2014 Aug 25 ]

I think it's a different matter.
The autologin is present in the request?

/usr/share/zabbix/include/views/general.login.php:line 72

<li style="margin-top: 8px; text-align: center;">
        <input type="checkbox" id="autologin" name="autologin" value="1" <?php echo (get_request('autologin', 1) == 1) ? 'checked="checked"' : ''; ?> />     <--here!
        <label for="autologin" class="bold" style="line-height: 20px; vertical-align: top;">
                <?php echo _('Remember me for 30 days'); ?>
        </label>
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 27 ]

This is how it's supposed to work. Logging in with the "Remember me" checkbox enabled will remember you preference by re-enabling autologin for the user. And the checkbox is checked by default because the login form itself is not tied to any user.

Comment by Kazuo Ito [ 2014 Sep 01 ]

Because there is ZBXNEXT-2426, ZBX-8657 will be closed.

Generated at Fri Jul 04 07:22:44 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.