summaryrefslogtreecommitdiffstats
path: root/app/common/services
diff options
context:
space:
mode:
authorIftekharul Islam <iffy.ryan@ibm.com>2017-11-09 09:51:48 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-07 17:21:29 +0000
commit3c837f45b6149a38e11b35d680ec9e8e64d547da (patch)
treeafb46835cf32d348d508eabe2c4995dbab3daebd /app/common/services
parent0d028015b06bab47ae0752a71fa860548b66c625 (diff)
downloadphosphor-webui-3c837f45b6149a38e11b35d680ec9e8e64d547da.tar.gz
phosphor-webui-3c837f45b6149a38e11b35d680ec9e8e64d547da.zip
Removed bypass login script
We had a script that allowed users to bypass login to see the app interface. We did this for testing purpose. This commit removes that functionality and improves security. Change-Id: I17255f16082d5460015788130f2482f2849ce975 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com>
Diffstat (limited to 'app/common/services')
-rw-r--r--app/common/services/userModel.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/common/services/userModel.js b/app/common/services/userModel.js
index 2c9de65..f82c1f1 100644
--- a/app/common/services/userModel.js
+++ b/app/common/services/userModel.js
@@ -15,9 +15,6 @@ window.angular && (function (angular) {
.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 &&
OpenPOWER on IntegriCloud