Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button
- type="submit"
- class="btn btn-primary btn-lg btn-block top-buffer30 g-recaptcha"
- data-sitekey="<?php echo GOOGLE_RECAPTCHA_INVISIBLE_SITE_KEY; ?>"
- data-callback="resetPassword">
- Reset Password>
- </button>
- $scope.submitResetForm = function($scope) {
- $scope.showErrors = false;
- $scope.shouldShowProfileImage = false;
- if ($scope.forgot_password_dialog_username.length < 3) {
- LoginStateHelper.setStateForNoResetEmailOrUsername($scope);
- return
- }
- $scope.sendingRequest = true;
- $http.get(URL + '/reset/' + $scope.forgot_password_dialog_username).then(function () {
- LoginStateHelper.setStateForPasswordResetResponse($scope);
- });
- };
- $window.resetPassword = $scope.submitResetForm;
- Uncaught TypeError: Cannot read property 'length' of undefined
- at $scope.submitResetForm (LoginForm.js)
- at br.n.Be (recaptcha__en.js)
Add Comment
Please, Sign In to add comment