Commit 314235b5 authored by Marcel Rieger's avatar Marcel Rieger

Fix vispaUser in vispa.js.

parent 93c8888b
......@@ -278,7 +278,7 @@ define([
this.workspaces.on("connectedWorkspace", toggleIcons);
this.workspaces.on("disconnectedWorkspace", toggleIcons);
// apply vispaUser.changeWorkspaces
// apply user.changeWorkspaces
if (!this.args.user.addWorkspaces)
$("#ws-menu-entry-add-ws").remove();
if (!this.args.user.alterWorkspaces)
......@@ -337,7 +337,7 @@ define([
});
$(".vispa-nav #reset-password").click(function(event) {
self.POST(vispa.url.dynamic("/ajax/forgotpassword"), {username: vispaUser.name})
self.POST(vispa.url.dynamic("/ajax/forgotpassword"), {username: self.args.user.name})
.done(function() {
var header = "<i class='glyphicon glyphicon-envelope'></i> Success";
vispa.messenger.alert("Further instructions have been sent to your mail address!", {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment