-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add account deletion with email notification
Select users to delete, then optionally opt to notify the user in an email with a provided reason.
- Loading branch information
Showing
12 changed files
with
289 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<mjml> | ||
<mj-head> | ||
<mj-attributes> | ||
<mj-class name="bg" background-color="#101010" /> | ||
<mj-class name="bg2" background-color="#242424" /> | ||
<mj-class name="text" color="rgba(255,255,255,0.8)" /> | ||
<mj-class name="bold" color="rgba(255,255,255,0.87)" /> | ||
<mj-class name="secondary" color="rgb(153,153,153)" /> | ||
<mj-class name="blue" background-color="rgb(0,164,220)" /> | ||
</mj-attributes> | ||
<mj-font name="Quicksand" href="https://fonts.googleapis.com/css2?family=Quicksand" /> | ||
<mj-font name="Noto Sans" href="https://fonts.googleapis.com/css2?family=Noto+Sans" /> | ||
</mj-head> | ||
<mj-body> | ||
<mj-section mj-class="bg2"> | ||
<mj-column> | ||
<mj-text mj-class="bold" font-size="25px" font-family="Quicksand, Noto Sans, Helvetica, Arial, sans-serif"> Jellyfin </mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section mj-class="bg"> | ||
<mj-column> | ||
<mj-text mj-class="text" font-size="16px" font-family="Noto Sans, Helvetica, Arial, sans-serif"> | ||
<h3>Your account was deleted.</h3> | ||
<p>Reason: <i>{{ .reason }}</i></p> | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<mj-section mj-class="bg2"> | ||
<mj-column> | ||
<mj-text mj-class="secondary" font-style="italic" font-size="14px"> | ||
{{ .message }} | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
</body> | ||
</mjml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Your Jellyfin account was deleted. | ||
Reason: {{ .reason }} | ||
|
||
{{ .message }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters