Ad Widget

Collapse

How remove "Remember me for 30 days" selection from login page? (v. 7.x)?

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixuser39393
    Junior Member
    • Jan 2021
    • 27

    #1

    How remove "Remember me for 30 days" selection from login page? (v. 7.x)?

    As topic says: How I remove "Remember me for 30 days" from login page? (v. 7.x)?
  • Answer selected by Donkey at 15-11-2024, 16:04.
    Julianna Wilamowska
    Member
    • Oct 2024
    • 34

    Hi you can change it in /usr/share/zabbix/include/views/general.login.php.
    Find lines:
    ->addItem(
    (new CCheckBox('autologin'))
    ->setLabel(_('Remember me for 30 days'))
    ->setChecked($data['autologin'])
    )

    And comment them.
    Hope that helps.

    Comment

    • Julianna Wilamowska
      Member
      • Oct 2024
      • 34

      #2
      Hi you can change it in /usr/share/zabbix/include/views/general.login.php.
      Find lines:
      ->addItem(
      (new CCheckBox('autologin'))
      ->setLabel(_('Remember me for 30 days'))
      ->setChecked($data['autologin'])
      )

      And comment them.
      Hope that helps.

      Comment

      • zabbixuser39393
        Junior Member
        • Jan 2021
        • 27

        #3
        Thanks, that did remove autologin selection... But... Logout timer seems not to work. Bug or not? Version 7.0.5

        Comment

        • Frank_Eckhardt
          Junior Member
          • May 2025
          • 1

          #4
          That doesn't help.
          Unfortunately, Remember me for 30 days is always on -> Bug 1 ?
          Remember me for 30 days will change the profile of the user so that automatic logout is uncheckt.
          At the next normal login is not recheckt it again ->Bug 2?
          So there is no point in simply hiding the option.
          Bugreport?
          Version 7.0.12

          Comment

          Working...