Commit 1c42a7f0 authored by Leonardo Menezes's avatar Leonardo Menezes
Browse files

sync app.js with code

parent 84a3e870
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2717,7 +2717,7 @@ angular.module('cerebro').factory('DataService', ['$rootScope', '$timeout',
    var request = function(config, success, error) {
      var handleSuccess = function(data) {
        if (data.status === 303) {
          $window.location.href = '/login';
          $window.location.href = 'login';
        } else {
          if (data.status >= 200 && data.status < 300) {
            success(data.body);