1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00
Files
web/src/Web/wwwroot/app/accounts/accountsPasswordHintController.js
2016-08-08 19:09:19 -04:00

13 lines
400 B
JavaScript

angular
.module('bit.accounts')
.controller('accountsPasswordHintController', function ($scope, $rootScope, apiService) {
$scope.success = false;
$scope.submit = function (model) {
$scope.submitPromise = apiService.accounts.postPasswordHint({ email: model.email }, function () {
$scope.success = true;
}).$promise;
};
});