mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
reorganize project folder structure and remove asp.net dependency
This commit is contained in:
12
src/app/accounts/accountsPasswordHintController.js
Normal file
12
src/app/accounts/accountsPasswordHintController.js
Normal file
@@ -0,0 +1,12 @@
|
||||
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;
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user