diff --git a/services/web/app/views/user/register.jade b/services/web/app/views/user/register.jade index 2a5ab707a6..5a1196b6a6 100644 --- a/services/web/app/views/user/register.jade +++ b/services/web/app/views/user/register.jade @@ -12,7 +12,7 @@ block content | #{translate("join_sl_to_view_project")}. div | #{translate("if_you_are_registered")}, - a(href="/login") #{translate("login_here")} + a(href="/login?redir=#{getReqQueryParam('redir')}") #{translate("login_here")} else if newTemplateData.templateName !== undefined h1 #{translate("register_to_edit_template", {templateName:newTemplateData.templateName})} diff --git a/services/web/public/coffee/ide/share/controllers/ShareProjectModalController.coffee b/services/web/public/coffee/ide/share/controllers/ShareProjectModalController.coffee index ac2bc431ba..b9567f46dd 100644 --- a/services/web/public/coffee/ide/share/controllers/ShareProjectModalController.coffee +++ b/services/web/public/coffee/ide/share/controllers/ShareProjectModalController.coffee @@ -85,7 +85,6 @@ define [ return addNextMember() # TODO: double-check if member.type == 'user' needs to be an invite - console.log ">> inviting", member if member.type == "user" request = projectInvites.sendInvite(member.email, $scope.inputs.privileges) else if member.type == "group"