From 79435726ed870d8395154e539ba2d9eb7789e0de Mon Sep 17 00:00:00 2001
From: rsanchez <rsanchez@curisit.net>
Date: Fri, 14 Nov 2014 13:46:37 +0000
Subject: [PATCH] #2021 fix - Fixed some JS code to work with a WAR deployment

---
 securis/src/main/webapp/js/login.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/securis/src/main/webapp/js/login.js b/securis/src/main/webapp/js/login.js
index 8051120..2d10421 100644
--- a/securis/src/main/webapp/js/login.js
+++ b/securis/src/main/webapp/js/login.js
@@ -12,7 +12,7 @@
 		$scope.submit = function() {
 			console.log('Sending user: ' + $scope.username + ' pass: ' + $scope.password);
 			$http({	method: 'POST', 
-					url: '/user/login',
+					url: 'user/login',
 					headers: {
 						"Content-Type": "application/x-www-form-urlencoded"
 					}, 

--
Gitblit v1.3.2