-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move encrypt-all password email to EmailTemplate #36351
Move encrypt-all password email to EmailTemplate #36351
Conversation
Signed-off-by: Joas Schilling <[email protected]>
4b0af81
to
0f7146c
Compare
Either this PR needs to be backported or: diff --git a/apps/encryption/templates/mail.php b/apps/encryption/templates/mail.php
index 0db4b67d08d..545d080b1d3 100644
--- a/apps/encryption/templates/mail.php
+++ b/apps/encryption/templates/mail.php
@@ -7,7 +7,7 @@
<table cellspacing="0" cellpadding="0" border="0" width="600px">
<tr>
<td colspan="2" bgcolor="<?php p($theme->getColorPrimary());?>">
- <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('core', 'logo-mail.png'))); ?>" alt="<?php p($theme->getName()); ?>"/>
+ <img src="<?php p(\OC::$server->getURLGenerator()->getAbsoluteURL(image_path('core', 'logo/logo-mail.png'))); ?>" alt="<?php p($theme->getName()); ?>"/>
</td>
</tr>
<tr><td colspan="2"> </td></tr> To prevent the exception from the first "Before" screenshot. I would vote for backporting this PR here to 26 after 26.0.0 is out (string freeze) and backporting the above diff to all other versions. |
/backport to stable26 |
Signed-off-by: Joas Schilling <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also fixes #35808 (but not for NC25 as-is until #36351 (comment) gets created in a separate PR). |
Feel free to send it as a Pull Request |
Steps
occ app:enable encryption
occ encryption:disable-master-key
(confirm with y)occ encryption:enable
occ encryption:disable-master-key
(confirm with y)occ encryption:encrypt-all
i. Do you really want to continue? (confirm with y)
ii. Do you want to send the passwords directly to the users by mail? (confirm with y)
Checklist