|
|
@ -85,8 +85,6 @@ define([
|
|
|
|
Cryptpad.whenRealtimeSyncs(result.realtime, function () {
|
|
|
|
Cryptpad.whenRealtimeSyncs(result.realtime, function () {
|
|
|
|
Cryptpad.login(result.userHash, result.userName, function () {
|
|
|
|
Cryptpad.login(result.userHash, result.userName, function () {
|
|
|
|
registering = false;
|
|
|
|
registering = false;
|
|
|
|
/*
|
|
|
|
|
|
|
|
FIXME: migration and readme not working if not redirected to drive
|
|
|
|
|
|
|
|
if (sessionStorage.redirectTo) {
|
|
|
|
if (sessionStorage.redirectTo) {
|
|
|
|
var h = sessionStorage.redirectTo;
|
|
|
|
var h = sessionStorage.redirectTo;
|
|
|
|
var parser = document.createElement('a');
|
|
|
|
var parser = document.createElement('a');
|
|
|
@ -97,7 +95,6 @@ define([
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
window.location.href = '/drive/';
|
|
|
|
window.location.href = '/drive/';
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|