mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
registration
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
angular
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsLoginController', function ($scope, $state, loginService, userService) {
|
||||
.controller('accountsLoginController', function ($scope, $state, $stateParams, loginService, userService) {
|
||||
popupUtils.initListSectionItemListeners();
|
||||
$('#email').focus();
|
||||
|
||||
if ($stateParams.email) {
|
||||
$('#master-password').focus();
|
||||
}
|
||||
else {
|
||||
$('#email').focus();
|
||||
}
|
||||
|
||||
$scope.model = {
|
||||
email: $stateParams.email
|
||||
};
|
||||
|
||||
$scope.loginPromise = null;
|
||||
$scope.login = function (model) {
|
||||
|
||||
Reference in New Issue
Block a user