[FIX] CAS building wrong URL (#1362)
This commit is contained in:
parent
3f614bc35e
commit
e17291960d
|
@ -249,7 +249,7 @@ class LoginSignupView extends React.Component {
|
||||||
onPressCas = () => {
|
onPressCas = () => {
|
||||||
const { server, CAS_login_url } = this.props;
|
const { server, CAS_login_url } = this.props;
|
||||||
const ssoToken = random(17);
|
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' });
|
this.openOAuth({ url, ssoToken, authType: 'cas' });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue