Skip to content

Commit

Permalink
Base: Fix bug connecting to OSPi sites
Browse files Browse the repository at this point in the history
  • Loading branch information
salbahra committed Feb 20, 2015
1 parent efdd7ec commit ecdf215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ function newload() {
}
};

if (error.status === 401) {
if (typeof error === "object" && error.status === 401) {
changePassword({
fixIncorrect: true,
name: name,
Expand Down

0 comments on commit ecdf215

Please sign in to comment.