From d86011eac29bfb5962c0a2dbb4e942b2e376a0c1 Mon Sep 17 00:00:00 2001 From: Ivan Mrsulja Date: Tue, 7 Nov 2023 13:35:24 +0100 Subject: [PATCH 1/5] Added configuration example for feature toggle. --- home/src/main/resources/config/example.runtime.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 0f22433b7..10d82b7be 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -455,3 +455,6 @@ createAndLink.providers = doi, pmid #fileUpload.maxFileSize = 10485760 #comma separated list of mime types allowed for upload #fileUpload.allowedMIMETypes = image/png, application/pdf + +# Feature toggle for forgot password functionality +authentication.forgotPassword = enabled From 423da77eb7d5b3714a0757da7bb48ec48c447513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20R=2E=20Mr=C5=A1ulja?= Date: Mon, 22 Jan 2024 09:25:23 +0100 Subject: [PATCH 2/5] Update home/src/main/resources/config/example.runtime.properties Co-authored-by: Dragan Ivanovic --- home/src/main/resources/config/example.runtime.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index b199c9bb9..b5dce669c 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -458,6 +458,7 @@ createAndLink.providers = doi, pmid # Feature toggle for forgot password functionality authentication.forgotPassword = enabled +authentication.forgotPassword.notify-admin = true # Captcha configuration. Available implementations are: nanocaptcha (text-based) and recaptchav2 # nanocaptcha is available in 2 difficulties (easy and hard) From 2c35529c2222a85141a8eb5f3d5cab32e091d097 Mon Sep 17 00:00:00 2001 From: Ivan Mrsulja Date: Fri, 9 Feb 2024 15:08:30 +0100 Subject: [PATCH 3/5] Made forgot password functionality disabled by default. --- home/src/main/resources/config/example.runtime.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index b5dce669c..0b52da14d 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -457,8 +457,8 @@ createAndLink.providers = doi, pmid #fileUpload.allowedMIMETypes = image/png, application/pdf # Feature toggle for forgot password functionality -authentication.forgotPassword = enabled -authentication.forgotPassword.notify-admin = true +authentication.forgotPassword = false +authentication.forgotPassword.notify-admin = false # Captcha configuration. Available implementations are: nanocaptcha (text-based) and recaptchav2 # nanocaptcha is available in 2 difficulties (easy and hard) From 3bab91f4cf68e8ae4f76e8f1d316b5a922378652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20R=2E=20Mr=C5=A1ulja?= Date: Mon, 12 Feb 2024 16:18:05 +0100 Subject: [PATCH 4/5] Update home/src/main/resources/config/example.runtime.properties Co-authored-by: Dragan Ivanovic --- home/src/main/resources/config/example.runtime.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 0b52da14d..94236d395 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -457,7 +457,7 @@ createAndLink.providers = doi, pmid #fileUpload.allowedMIMETypes = image/png, application/pdf # Feature toggle for forgot password functionality -authentication.forgotPassword = false +authentication.forgotPassword = disabled authentication.forgotPassword.notify-admin = false # Captcha configuration. Available implementations are: nanocaptcha (text-based) and recaptchav2 From 363cf47d3fbab805d09085a275bb3d9fc18b802e Mon Sep 17 00:00:00 2001 From: Ivan Mrsulja Date: Fri, 12 Apr 2024 15:26:49 +0200 Subject: [PATCH 5/5] Updated example properties. --- home/src/main/resources/config/example.runtime.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/src/main/resources/config/example.runtime.properties b/home/src/main/resources/config/example.runtime.properties index 0b52da14d..87ad0c5e7 100644 --- a/home/src/main/resources/config/example.runtime.properties +++ b/home/src/main/resources/config/example.runtime.properties @@ -456,7 +456,7 @@ createAndLink.providers = doi, pmid #comma separated list of mime types allowed for upload #fileUpload.allowedMIMETypes = image/png, application/pdf -# Feature toggle for forgot password functionality +# Feature toggle for forgot password functionality [enabled, disabled] authentication.forgotPassword = false authentication.forgotPassword.notify-admin = false