You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've updated teampass to 1.27 using git clone method. DB has been updated without issues. Noticed email notifications stopped arriving. During troubleshooting noticed OPV user was created without email address in teampass_users. That code failed to create a list of recipients and invoking @sendmail with empty recipients argument. Attaching a simple patch that fixed the issue, please consider adding to the mainline.
$rows = DB::query("SELECT email FROM ".prefix_table("users")." WHERE admin = %i", 1);
$rows = DB::query("SELECT email FROM ".prefix_table("users")." WHERE admin = %i and email !=''", 1);
foreach ($rows as $record) {
if (empty($receivers)) {
$receivers = $record['email'];
The text was updated successfully, but these errors were encountered:
I've updated teampass to 1.27 using git clone method. DB has been updated without issues. Noticed email notifications stopped arriving. During troubleshooting noticed OPV user was created without email address in teampass_users. That code failed to create a list of recipients and invoking @sendmail with empty recipients argument. Attaching a simple patch that fixed the issue, please consider adding to the mainline.
--- /tmp/identify.php 2017-06-05 23:02:57.490778648 -0400
+++ sources/identify.php 2017-06-05 22:40:15.048011210 -0400
@@ -996,7 +996,7 @@
) {
// get all Admin users
$receivers = "";
The text was updated successfully, but these errors were encountered: