[REGRESSION] SAML stopped working after #2978 (#3060)

This commit is contained in:
Diego Mello 2021-04-14 11:24:13 -03:00 committed by GitHub
parent f7f13dabcc
commit d71805347b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ class AuthenticationWebView extends React.PureComponent {
this.dismiss(); this.dismiss();
} }
// eslint-disable-next-line react/sort-comp // Force 3s delay so the server has time to evaluate the token
debouncedLogin = debounce(params => this.login(params), 3000, true); debouncedLogin = debounce(params => this.login(params), 3000);
tryLogin = debounce(async() => { tryLogin = debounce(async() => {
const { Accounts_Iframe_api_url, Accounts_Iframe_api_method } = this.props; const { Accounts_Iframe_api_url, Accounts_Iframe_api_method } = this.props;