mirror of https://gitee.com/bigwinds/arangodb
fixed username bug
This commit is contained in:
parent
cdfcdb071a
commit
285be2a7d3
|
@ -17,7 +17,7 @@
|
|||
path = path.slice(0, path.length - 2).join("/");
|
||||
|
||||
if (username) {
|
||||
res.set("Location", path + "/changePassword.html" + "?n=" + username + "&t=" + token);
|
||||
res.set("Location", path + "/changePassword.html" + "?n=" + username.user + "&t=" + token);
|
||||
} else {
|
||||
res.set("Location", path + "/invalid.html");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue