mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Adding Toggle Email
EMail toggling added to the pool authed zones Fixes #41
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ function updateShareStats() {
|
||||
let address_parts = miner.split('_');
|
||||
let address = address_parts[0];
|
||||
let worker = address_parts[1];
|
||||
global.mysql.query("SELECT email FROM users WHERE username = ? limit 1", [address]).then(function (rows) {
|
||||
global.mysql.query("SELECT email FROM users WHERE username = ? AND enable_email IS true limit 1", [address]).then(function (rows) {
|
||||
if (rows.length === 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user