feedback when logging in or registering

This commit is contained in:
ansuz
2017-04-24 14:15:17 +02:00
parent 4c3e842664
commit 218f2ff76c
3 changed files with 9 additions and 10 deletions

View File

@@ -67,11 +67,7 @@ define([
proxy.edPublic = result.edPublic;
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.feedback('REGISTRATION', true);
Cryptpad.whenRealtimeSyncs(result.realtime, function () {
Cryptpad.login(result.userHash, result.userName, function () {