From 7179f23568ba04b85bf8bae17e8d794873ba109a Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Mon, 16 May 2016 14:12:15 -0400 Subject: [PATCH] Temporary fix for login screen by always showing the signin (instead of create account) --- static/js/directives/ui/user-setup.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/static/js/directives/ui/user-setup.js b/static/js/directives/ui/user-setup.js index 61705b249..369222260 100644 --- a/static/js/directives/ui/user-setup.js +++ b/static/js/directives/ui/user-setup.js @@ -21,15 +21,7 @@ angular.module('quay').directive('userSetup', function () { controller: function($scope, $location, $timeout, ApiService, KeyService, UserService, Config, Features) { $scope.Config = Config; $scope.Features = Features; - $scope.currentView = 'createAccount'; - - var hasSignedIn = function() { - return UserService.hasEverLoggedIn() || Config.AUTHENTICATION_TYPE != 'Database'; - }; - - if (hasSignedIn()) { - $scope.currentView = 'signin'; - } + $scope.currentView = 'signin'; $scope.setView = function(view) { $scope.currentView = view;