Username exists check respects the relative root URL

Closes #25548
This commit is contained in:
Phil Hughes 2016-12-14 16:59:36 +00:00
parent 278baa5b61
commit 886a939b02
2 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,7 @@
this.renderState();
return $.ajax({
type: 'GET',
url: `/users/${username}/exists`,
url: `${gon.relative_url_root}/users/${username}/exists`,
dataType: 'json',
success: (res) => this.setAvailabilityState(res.exists)
});

View File

@ -0,0 +1,4 @@
---
title: Username exists check respects relative root path
merge_request:
author: