Disable option "Remember me for 7 days"

Hello All,

Can we disable option “Remember me for 7 days”? I found that we can extend days but would it be possible to remember always?

Thanks,
r0den

If you setup for example 365 days, it will never expire, cause everytime you visit Seahub is countdown reseted.

At least you can further increase it https://manual.seafile.com/config/seahub_settings_py.html LOGIN_REMEMBER_DAYS

Just wanted to delete that option totally.
Ok thanks @holantomas, @shoeper

OK, just easy reply. There’s no way to “Always remember”, everytime it’s just walkaround for cookies expiration like I said, you setup 1 year or 10 years.

Hallo,
Where do I put that when installing a 1 year or 10 years? And what exactly does this functiom mean?
Many Thanks

you can in the file
vi /home/seafile/haiwen/seafile-server/seahub/seahub/templates/registration/login.html

…vam.remember-input, .vam set {display: none;}.

or maybe remove the html. But I’m not sure if that was all.

Then it is hidden

Kind regards

Hello @ork23,

Thanks for help. I’m fine with setting cookies expiration for 1 year.

This will no help. What you will do if user change browser? He will be not able to check “remember me” on first login.

You can setup time for “Remember me” function in Seahub settings page or config(LOGIN_REMEMBER_DAYS). This setup is in days so for 1 year you input 365.