mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Support custom HTML for signup and signin pages.
This commit is contained in:
@ -520,6 +520,12 @@ class SignupPage extends React.Component {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (application.signupHtml !== "") {
|
||||
return (
|
||||
<div dangerouslySetInnerHTML={{ __html: application.signupHtml}} />
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<div>
|
||||
|
||||
|
Reference in New Issue
Block a user