Unable to set password_auto_expire in grafana open source version 9.5.1

Hello All,

I am runnuing grafana opensource ( version 9.5.1) on " [debian-11-bullseye-v20230411]" . I want to achieve that users should change the password after 15 days. So, I have added below lines under “security” section of grafana.ini file. But, still is not working .

[security]
password_auto_expire = true
password_expiry = 1296000

Please help here.I am providing same information here in expected template form.

  • What Grafana version and what operating system are you using?
    Operating system: debian-11-bullseye-v20230411
    Grafana version: Opensource , 9.5.1

  • What are you trying to achieve?
    I want to achieve that users should change the password after 15 days

  • How are you trying to achieve it?
    By adding below lines in “security” section of grafana.ini file.
    [security]
    password_auto_expire = true
    password_expiry = 1296000

  • What happened?
    Grafana is not asking users to change the password after 15 days.

  • What did you expect to happen?
    Grafana should ask users to change the password after 15 days.

  • Can you copy/paste the configuration(s) that you are having problems with?
    [security]
    password_auto_expire = true
    password_expiry = 1296000

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No

  • Did you follow any online instructions? If so, what is the URL?
    Yes