Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #129 from nodes-vapor/bugfix/adminpanel-config-init
Browse files Browse the repository at this point in the history
Update AdminPanelConfig.swift
  • Loading branch information
steffendsommer authored Apr 9, 2019
2 parents 729c8e9 + 454f5ec commit 1aad6a1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Sources/AdminPanel/Configs/AdminPanelConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ public struct AdminPanelConfig<U: AdminPanelUserType>: Service {
public let fromEmail: String
public let subject: String

public init(fromEmail: String, subject: String) {
self.fromEmail = fromEmail
self.subject = subject
}

public static var `default`: ResetPasswordEmail {
return .init(
fromEmail: "[email protected]",
Expand All @@ -21,6 +26,11 @@ public struct AdminPanelConfig<U: AdminPanelUserType>: Service {
public let fromEmail: String
public let subject: String

public init(fromEmail: String, subject: String) {
self.fromEmail = fromEmail
self.subject = subject
}

public static var `default`: SpecifyPasswordEmail {
return .init(
fromEmail: "[email protected]",
Expand Down

0 comments on commit 1aad6a1

Please sign in to comment.