wrong password is 401
This commit is contained in:
@@ -150,7 +150,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
|
||||
}
|
||||
|
||||
Client.setupDnsConfig($scope.dnsCredentials.domain, $scope.dnsCredentials.zoneName, provider, data, $scope.dnsCredentials.tlsConfig, function (error) {
|
||||
if (error && error.statusCode === 403) {
|
||||
if (error && error.statusCode === 401) {
|
||||
$scope.dnsCredentials.busy = false;
|
||||
$scope.error = 'Wrong instance id provided.';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user