[FIX] CAS building wrong URL (#1362)

This commit is contained in:
Diego Mello 2019-11-18 19:47:05 -03:00 committed by GitHub
parent 3f614bc35e
commit e17291960d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class LoginSignupView extends React.Component {
onPressCas = () => {
const { server, CAS_login_url } = this.props;
const ssoToken = random(17);
const url = `${ CAS_login_url }/?service=${ server }/_cas/${ ssoToken }`;
const url = `${ CAS_login_url }?service=${ server }/_cas/${ ssoToken }`;
this.openOAuth({ url, ssoToken, authType: 'cas' });
}