mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
rename SMTPConfigurations to EmailConfiguration
This commit is contained in:
parent
689b710c9e
commit
01103268c3
@ -21,6 +21,7 @@ import {
|
||||
CdnConfiguration,
|
||||
ClientConfiguration,
|
||||
DefaultsConfiguration,
|
||||
EmailConfiguration,
|
||||
EndpointConfiguration,
|
||||
ExternalTokensConfiguration,
|
||||
GeneralConfiguration,
|
||||
@ -35,7 +36,6 @@ import {
|
||||
RegisterConfiguration,
|
||||
SecurityConfiguration,
|
||||
SentryConfiguration,
|
||||
SMTPConfiguration,
|
||||
TemplateConfiguration,
|
||||
} from "../config";
|
||||
|
||||
@ -59,5 +59,5 @@ export class ConfigValue {
|
||||
sentry: SentryConfiguration = new SentryConfiguration();
|
||||
defaults: DefaultsConfiguration = new DefaultsConfiguration();
|
||||
external: ExternalTokensConfiguration = new ExternalTokensConfiguration();
|
||||
smtp: SMTPConfiguration = new SMTPConfiguration();
|
||||
email: EmailConfiguration = new EmailConfiguration();
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
export class SMTPConfiguration {
|
||||
export class EmailConfiguration {
|
||||
host: string | null = null;
|
||||
port: number | null = null;
|
||||
secure: boolean | null = null;
|
@ -18,12 +18,13 @@
|
||||
|
||||
import {
|
||||
DateOfBirthConfiguration,
|
||||
EmailConfiguration,
|
||||
PasswordConfiguration,
|
||||
RegistrationEmailConfiguration,
|
||||
} from ".";
|
||||
|
||||
export class RegisterConfiguration {
|
||||
email: EmailConfiguration = new EmailConfiguration();
|
||||
email: RegistrationEmailConfiguration =
|
||||
new RegistrationEmailConfiguration();
|
||||
dateOfBirth: DateOfBirthConfiguration = new DateOfBirthConfiguration();
|
||||
password: PasswordConfiguration = new PasswordConfiguration();
|
||||
disabled: boolean = false;
|
||||
|
@ -20,6 +20,7 @@ export * from "./ApiConfiguration";
|
||||
export * from "./CdnConfiguration";
|
||||
export * from "./ClientConfiguration";
|
||||
export * from "./DefaultsConfiguration";
|
||||
export * from "./EmailConfiguration";
|
||||
export * from "./EndpointConfiguration";
|
||||
export * from "./ExternalTokensConfiguration";
|
||||
export * from "./GeneralConfiguration";
|
||||
@ -34,6 +35,5 @@ export * from "./RegionConfiguration";
|
||||
export * from "./RegisterConfiguration";
|
||||
export * from "./SecurityConfiguration";
|
||||
export * from "./SentryConfiguration";
|
||||
export * from "./SMTPConfiguration";
|
||||
export * from "./subconfigurations";
|
||||
export * from "./TemplateConfiguration";
|
||||
|
@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
export class EmailConfiguration {
|
||||
export class RegistrationEmailConfiguration {
|
||||
required: boolean = false;
|
||||
allowlist: boolean = false;
|
||||
blocklist: boolean = true;
|
||||
|
Loading…
Reference in New Issue
Block a user