This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
export const PACKAGE_VERSION = "0.22.7";
|
export const PACKAGE_VERSION = "0.22.8";
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class PasswordResetView extends React.PureComponent {
|
|||||||
// Reset using token.
|
// Reset using token.
|
||||||
this.props.onReset(this.state.password.trim(), {
|
this.props.onReset(this.state.password.trim(), {
|
||||||
scheme: 'token',
|
scheme: 'token',
|
||||||
token: this.state.token
|
secret: this.state.token
|
||||||
});
|
});
|
||||||
} else if (this.state.code && this.props.reqCredMethod) {
|
} else if (this.state.code && this.props.reqCredMethod) {
|
||||||
// Reset using security code.
|
// Reset using security code.
|
||||||
@@ -193,7 +193,7 @@ class PasswordResetView extends React.PureComponent {
|
|||||||
{this.state.haveCode || this.state.sent ? codeInput : null}
|
{this.state.haveCode || this.state.sent ? codeInput : null}
|
||||||
{showPasswordInput ? passwordInput : null}
|
{showPasswordInput ? passwordInput : null}
|
||||||
<div className="dialog-buttons">
|
<div className="dialog-buttons">
|
||||||
{this.state.haveCode || this.state.sent ? null :
|
{this.state.haveCode || this.state.sent || this.state.token ? null :
|
||||||
<a href="#" onClick={this.handleShowCodeField} style={{marginRight: 'auto'}}>
|
<a href="#" onClick={this.handleShowCodeField} style={{marginRight: 'auto'}}>
|
||||||
<FormattedMessage id="password_i_have_code" defaultMessage="I have code"
|
<FormattedMessage id="password_i_have_code" defaultMessage="I have code"
|
||||||
description="Call to open field to enter password reset code" />
|
description="Call to open field to enter password reset code" />
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -3593,7 +3593,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||||
/* harmony export */ "PACKAGE_VERSION": () => (/* binding */ PACKAGE_VERSION)
|
/* harmony export */ "PACKAGE_VERSION": () => (/* binding */ PACKAGE_VERSION)
|
||||||
/* harmony export */ });
|
/* harmony export */ });
|
||||||
const PACKAGE_VERSION = "0.22.7";
|
const PACKAGE_VERSION = "0.22.8";
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -71,7 +71,7 @@ class PasswordResetView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Pu
|
|||||||
if (this.state.token) {
|
if (this.state.token) {
|
||||||
this.props.onReset(this.state.password.trim(), {
|
this.props.onReset(this.state.password.trim(), {
|
||||||
scheme: 'token',
|
scheme: 'token',
|
||||||
token: this.state.token
|
secret: this.state.token
|
||||||
});
|
});
|
||||||
} else if (this.state.code && this.props.reqCredMethod) {
|
} else if (this.state.code && this.props.reqCredMethod) {
|
||||||
const cred = this.state.email.trim() || this.state.tel.trim();
|
const cred = this.state.email.trim() || this.state.tel.trim();
|
||||||
@@ -222,7 +222,7 @@ class PasswordResetView extends (react__WEBPACK_IMPORTED_MODULE_0___default().Pu
|
|||||||
onSubmit: this.handleSubmit
|
onSubmit: this.handleSubmit
|
||||||
}, !this.state.sent && showCredentialInput ? credentialInput : null, this.state.haveCode || this.state.sent ? codeInput : null, showPasswordInput ? passwordInput : null, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
}, !this.state.sent && showCredentialInput ? credentialInput : null, this.state.haveCode || this.state.sent ? codeInput : null, showPasswordInput ? passwordInput : null, react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
|
||||||
className: "dialog-buttons"
|
className: "dialog-buttons"
|
||||||
}, this.state.haveCode || this.state.sent ? null : react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
}, this.state.haveCode || this.state.sent || this.state.token ? null : react__WEBPACK_IMPORTED_MODULE_0___default().createElement("a", {
|
||||||
href: "#",
|
href: "#",
|
||||||
onClick: this.handleShowCodeField,
|
onClick: this.handleShowCodeField,
|
||||||
style: {
|
style: {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
// This is a generated file. Don't edit.
|
// This is a generated file. Don't edit.
|
||||||
|
|
||||||
const PACKAGE_VERSION = "0.22.7";
|
const PACKAGE_VERSION = "0.22.8";
|
||||||
|
|||||||
Reference in New Issue
Block a user