mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 08:55:47 +01:00
removed api: from client side socket calls
This commit is contained in:
@@ -8,7 +8,7 @@ define(function() {
|
||||
|
||||
document.getElementById('reset').onclick = function() {
|
||||
if (inputEl.value.length > 0 && inputEl.value.indexOf('@') !== -1) {
|
||||
socket.emit('api:user.reset.send', {
|
||||
socket.emit('user.reset.send', {
|
||||
email: inputEl.value
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user