Skip to content

Commit

Permalink
#1410 Use POST for logout api call
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jul 17, 2020
1 parent 86ee6dd commit ef5f4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/scripts/services/api/AuthenticationSrv.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
logout: function(success, failure) {
$http
.get('./api/logout')
.post('./api/v1/logout')
.then(function(data, status, headers, config) {
self.currentUser = null;

Expand Down

0 comments on commit ef5f4e3

Please sign in to comment.