Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
886a939b
Commit
886a939b
authored
Dec 14, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Username exists check respects the relative root URL
Closes #25548
parent
278baa5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/assets/javascripts/username_validator.js.es6
app/assets/javascripts/username_validator.js.es6
+1
-1
changelogs/unreleased/username-exists-root.yml
changelogs/unreleased/username-exists-root.yml
+4
-0
No files found.
app/assets/javascripts/username_validator.js.es6
View file @
886a939b
...
...
@@ -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)
});
...
...
changelogs/unreleased/username-exists-root.yml
0 → 100644
View file @
886a939b
---
title
:
Username exists check respects relative root path
merge_request
:
author
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment