Temporary fix for login screen by always showing the signin (instead of create account)
This commit is contained in:
parent
97fd476abc
commit
7179f23568
1 changed files with 1 additions and 9 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue