Added fake login page for testing and demo
Change-Id: Ife37444dcede67b54d1f257ee99322b22ac6b78c
Signed-off-by: Iftekharul Islam <iislam@us.ibm.com>
diff --git a/app/common/services/userModel.js b/app/common/services/userModel.js
index e44ba8c..dba607d 100644
--- a/app/common/services/userModel.js
+++ b/app/common/services/userModel.js
@@ -15,6 +15,9 @@
.module('app.common.services')
.service('userModel', ['APIUtils',function(APIUtils){
return {
+ fakeLogin: function(callback){
+ sessionStorage.setItem('LOGIN_ID', 'FAKE_ID');
+ },
login : function(username, password, callback){
APIUtils.login(username, password, function(response, error){
if(response &&