2
2
mirror of https://git.coolaj86.com/coolaj86/telebit.js.git synced 2025-03-03 07:00:45 +00:00
This commit is contained in:
AJ ONeal 2018-06-13 12:39:42 -06:00
parent 27c1b0ceeb
commit c981544bad

View File

@ -200,7 +200,7 @@ function serveControls() {
}
// TODO check for message from remote about email
if (/\btelebit\.cloud\b/i.test(conf.relay) && state.config.email && !state.token) {
if (/\btelebit\.cloud\b/i.test(state.config.relay) && state.config.email && !state.token) {
res.statusCode = 200;
res.end('{"success":true,"code":"AWAIT_AUTH","message":"Check your email. You must verify your email address to activate this device."}');
} else {