mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 11:41:54 +01:00
19 lines
313 B
JavaScript
19 lines
313 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.services.user')
|
|
.factory('LogOutService', LogOutService);
|
|
|
|
LogOutService.$inject = ['$http'];
|
|
|
|
function LogOutService($http) {
|
|
return logOut;
|
|
function logOut() {
|
|
return $http
|
|
.get('/log_out');
|
|
}
|
|
}
|
|
|
|
})(); |