| .. | .. |
|---|
| 37 | 37 | $location.path('/login'); |
|---|
| 38 | 38 | toaster.pop('warning', 'Session has expired', null, 4000); |
|---|
| 39 | 39 | } else { |
|---|
| 40 | | - console.log('Last access recent'); |
|---|
| 40 | + console.debug('Last access recent'); |
|---|
| 41 | 41 | } |
|---|
| 42 | 42 | } |
|---|
| 43 | 43 | $store.set('last_access', now); |
|---|
| .. | .. |
|---|
| 61 | 61 | }); |
|---|
| 62 | 62 | |
|---|
| 63 | 63 | m.config(function($routeProvider, $locationProvider, $httpProvider) { |
|---|
| 64 | | - console.log('Configuring routes...'); |
|---|
| 64 | + console.debug('Configuring routes...'); |
|---|
| 65 | 65 | $routeProvider.when('/login', { |
|---|
| 66 | 66 | templateUrl: 'login.html', |
|---|
| 67 | 67 | controller: 'LoginCtrl' |
|---|