caas errorCodes in error.html are gone now

This commit is contained in:
Johannes Zellner
2018-11-26 20:05:55 +01:00
parent ccef5da7d9
commit edf8c32a0f
2 changed files with 29 additions and 56 deletions

View File

@@ -68,16 +68,6 @@ app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope
}
if (status.provider === 'caas') {
if (!search.setupToken) {
window.location.href = '/error.html?errorCode=2';
return;
}
if (!search.email) {
window.location.href = '/error.html?errorCode=3';
return;
}
$scope.setupToken = search.setupToken;
}