mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
use quarkus mailer for password recovery
This commit is contained in:
@@ -49,6 +49,14 @@ public interface CommaFeedConfiguration {
|
||||
@WithDefault("false")
|
||||
boolean imageProxyEnabled();
|
||||
|
||||
/**
|
||||
* Enable password recovery via email.
|
||||
*
|
||||
* Quarkus mailer will need to be configured.
|
||||
*/
|
||||
@WithDefault("false")
|
||||
boolean passwordRecoveryEnabled();
|
||||
|
||||
/**
|
||||
* Message displayed in a notification at the bottom of the page.
|
||||
*/
|
||||
@@ -84,11 +92,6 @@ public interface CommaFeedConfiguration {
|
||||
*/
|
||||
Websocket websocket();
|
||||
|
||||
/**
|
||||
* SMTP settings for password recovery.
|
||||
*/
|
||||
Optional<Smtp> smtp();
|
||||
|
||||
/**
|
||||
* Redis settings to enable caching. This is only really useful on instances with a lot of users.
|
||||
*/
|
||||
@@ -207,20 +210,6 @@ public interface CommaFeedConfiguration {
|
||||
boolean createDemoAccount();
|
||||
}
|
||||
|
||||
interface Smtp {
|
||||
String host();
|
||||
|
||||
int port();
|
||||
|
||||
boolean tls();
|
||||
|
||||
String userName();
|
||||
|
||||
String password();
|
||||
|
||||
String fromAddress();
|
||||
}
|
||||
|
||||
interface Websocket {
|
||||
/**
|
||||
* Enable websocket connection so the server can notify the web client that there are new entries for your feeds.
|
||||
|
||||
Reference in New Issue
Block a user