diff --git a/js/components/ascribe_modal/modal_password_request_reset.js b/js/components/ascribe_modal/modal_password_request_reset.js deleted file mode 100644 index d941bcce..00000000 --- a/js/components/ascribe_modal/modal_password_request_reset.js +++ /dev/null @@ -1,34 +0,0 @@ -'use strict'; - -import React from 'react'; - -import ModalWrapper from './modal_wrapper'; -import PasswordResetRequestForm from '../ascribe_forms/form_password_reset_request'; - -import GlobalNotificationModel from '../../models/global_notification_model'; -import GlobalNotificationActions from '../../actions/global_notification_actions'; -import { getLangText } from '../../utils/lang_utils.js'; - -let PasswordResetRequestModal = React.createClass({ - propTypes: { - button: React.PropTypes.element - }, - - handleResetSuccess(){ - let notificationText = getLangText('Request successfully sent, check your email'); - let notification = new GlobalNotificationModel(notificationText, 'success', 50000); - GlobalNotificationActions.appendGlobalNotification(notification); - }, - render() { - return ( - - - - ); - } -}); - -export default PasswordResetRequestModal;