mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
login form styling. server validation errors displayed as sweet alerts
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
.module('bit.accounts')
|
||||
|
||||
.controller('accountsLoginController', function ($scope, $state, loginService, userService) {
|
||||
$scope.login = function (model) {
|
||||
popupUtils.initListSectionItemListeners();
|
||||
|
||||
$scope.loginPromise = null;
|
||||
$scope.login = function (model, form) {
|
||||
$scope.loginPromise = loginService.logIn(model.email, model.masterPassword);
|
||||
|
||||
$scope.loginPromise.then(function () {
|
||||
|
||||
Reference in New Issue
Block a user