1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00
Files
browser/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;
};
});