mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Add redir query string to login link
This commit is contained in:
parent
e1af171534
commit
46ec17f2c4
2 changed files with 1 additions and 2 deletions
|
@ -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})}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue