send feedback when a user registers

pull/1/head
ansuz 8 years ago
parent eed5b1260d
commit f6d6f81d55

@ -68,6 +68,12 @@ define([
proxy.edPublic = result.edPublic; proxy.edPublic = result.edPublic;
proxy.edPrivate = result.edPrivate; proxy.edPrivate = result.edPrivate;
// feedback API won't work because proxy wasn't loaded
$.ajax({
type: 'HEAD',
url: '/common/feedback.html?REGISTRATION=' + (+new Date());
});
Cryptpad.whenRealtimeSyncs(result.realtime, function () { Cryptpad.whenRealtimeSyncs(result.realtime, function () {
Cryptpad.login(result.userHash, result.userName, function () { Cryptpad.login(result.userHash, result.userName, function () {
if (sessionStorage.redirectTo) { if (sessionStorage.redirectTo) {

Loading…
Cancel
Save