Added French translation. Auth token now valid for a year instead of two weeks

This commit is contained in:
emeric
2018-11-17 15:59:44 +01:00
parent 8ec87c9346
commit 31afdae4fc
5 changed files with 140 additions and 4 deletions
+1
View File
@@ -54,6 +54,7 @@ Handler::configureAuth(void)
{
authService.setEmailVerificationEnabled(false);
authService.setAuthTokensEnabled(true, "lmsauth");
authService.setAuthTokenValidity(24 * 60 * 365); // A year
authService.setIdentityPolicy(Wt::Auth::IdentityPolicy::LoginName);
authService.setRandomTokenLength(32);