lenpaste icon indicating copy to clipboard operation
lenpaste copied to clipboard

MAX_PASTE_LIFETIME is not working

Open ShlomiPorush opened this issue 1 year ago • 0 comments

Hi Love this project 😀

i do have an issue with setting max lifetime. this is my config

    environment:
      - LENPASTE_DB_DRIVER=postgres
      - LENPASTE_DB_SOURCE=${LENPASTE_DB_SOURCE}
      - LENPASTE_MAX_PASTE_LIFETIME=30d
      - LENPASTE_UI_DEFAULT_LIFETIME=2w

But for some reason on the site a user can still choose unlimited without expiration image

The Default setting works image

ShlomiPorush avatar Jul 16 '24 14:07 ShlomiPorush