Looking for same thing but for back office. Answer seems to be in asp.net core generates tokens with its DataProtectionTokenProviders.
If you add this line to Startup.cs then the token expires after 1 min. Issue is I think it will apply to all tokens so could affect ones that should be longer/shorter.
public void ConfigureServices(IServiceCollection services)
Forgot Password Reset Token Expiration
Hi there,
Is it possible to change the Reset Password token expiration time in Umbraco 10.1?
The token is being generated like so:
Thanks in advance! Cheers
Looking for same thing but for back office. Answer seems to be in asp.net core generates tokens with its DataProtectionTokenProviders.
If you add this line to Startup.cs then the token expires after 1 min. Issue is I think it will apply to all tokens so could affect ones that should be longer/shorter.
public void ConfigureServices(IServiceCollection services)
Just change it to FromDays(x)
Hi AbsolutelyN,
Thanks! I don't have plans to add aditional tokens, so that might just work!
Cheers!
is working on a reply...