[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: |
|
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. |
Comments |
Comment by richlv [ 2014 Aug 25 ] |
could this be the same as |
Comment by Kazuo Ito [ 2014 Aug 25 ] |
I think it's a different matter. /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, |