parent
f2ec465f87
commit
74cab0323f
3 changed files with 631 additions and 633 deletions
|
@ -240,6 +240,7 @@ const transformTags: IExtendedSanitizeOptions["transformTags"] = { // custom to
|
|||
}
|
||||
return { tagName, attribs };
|
||||
},
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
'*': function(tagName: string, attribs: sanitizeHtml.Attributes) {
|
||||
// Delete any style previously assigned, style is an allowedTag for font, span & img,
|
||||
// because attributes are stripped after transforming.
|
||||
|
|
|
@ -135,7 +135,9 @@ export default class LoginComponent extends React.PureComponent<IProps, IState>
|
|||
'm.login.password': this.renderPasswordStep,
|
||||
|
||||
// CAS and SSO are the same thing, modulo the url we link to
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
'm.login.cas': () => this.renderSsoStep("cas"),
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
'm.login.sso': () => this.renderSsoStep("sso"),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue