mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
13 lines
400 B
JavaScript
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;
|
|
};
|
|
});
|