Add provider fallback in webadmin

This is a bug and requires an upgrade to set the provider again
This commit is contained in:
Johannes Zellner
2016-07-28 12:10:11 +02:00
parent ced31afe55
commit 6d2e52b3b5

View File

@@ -212,6 +212,9 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
Client.prototype.setConfig = function (config) {
var that = this;
// provide fallback to caas
if (!config.provider) config.provider = 'caas';
angular.copy(config, this._config);
this._configListener.forEach(function (callback) {