From 59ad96e491c9a25e448c591700f4a35b5a4b9861 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 25 Sep 2017 16:11:50 +0200 Subject: [PATCH] Make sure the user is redirected to the drive at registration --- www/register/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/register/main.js b/www/register/main.js index 7de37e8bf..1b7103cac 100644 --- a/www/register/main.js +++ b/www/register/main.js @@ -85,6 +85,8 @@ 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'); @@ -95,6 +97,7 @@ define([ return; } } + */ window.location.href = '/drive/'; }); });