Support custom HTML for signup and signin pages.

This commit is contained in:
Gucheng Wang
2021-10-26 13:11:21 +08:00
parent 5526286ad8
commit 2e1b51910f
4 changed files with 66 additions and 2 deletions

View File

@ -520,6 +520,12 @@ class SignupPage extends React.Component {
return null;
}
if (application.signupHtml !== "") {
return (
<div dangerouslySetInnerHTML={{ __html: application.signupHtml}} />
)
}
return (
<div>
&nbsp;