Send only the hostname to the accounts server
This commit is contained in:
parent
834830fc4f
commit
953e7155f0
@ -797,7 +797,7 @@ define([
|
||||
var $usage = $('<span>', {'class': 'usage'}).css('width', width+'px');
|
||||
|
||||
if ((quota >= 0.8 || alwaysDisplayUpgrade) && data.plan !== "power") {
|
||||
var origin = encodeURIComponent(window.location.origin);
|
||||
var origin = encodeURIComponent(window.location.hostname);
|
||||
var $upgradeLink = $('<a>', {
|
||||
href: "https://accounts.cryptpad.fr/#!on=" + origin,
|
||||
rel: "noreferrer noopener",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user