mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-10 21:30:33 +08:00
Fix missing options in renderOptions().
This commit is contained in:
@@ -176,7 +176,9 @@ class ForgetPage extends React.Component {
|
|||||||
{Setting.getMaskedPhone(this.state.phone)}
|
{Setting.getMaskedPhone(this.state.phone)}
|
||||||
</Option>
|
</Option>
|
||||||
);
|
);
|
||||||
} else if (this.state.email !== "") {
|
}
|
||||||
|
|
||||||
|
if (this.state.email !== "") {
|
||||||
options.push(
|
options.push(
|
||||||
<Option key={"email"} value={"email"}>
|
<Option key={"email"} value={"email"}>
|
||||||
{Setting.getMaskedEmail(this.state.email)}
|
{Setting.getMaskedEmail(this.state.email)}
|
||||||
|
Reference in New Issue
Block a user