Enable redirection to the previous page after registration

This commit is contained in:
yflory 2017-10-04 15:55:57 +02:00
parent ceb8ff18bd
commit 5304dc319f
1 changed files with 0 additions and 3 deletions

View File

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