mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 12:11:03 +08:00
feat: change the method "login" to correct param "signup" (#3971)
This commit is contained in:
@@ -63,7 +63,7 @@ class WeChatLoginPanel extends React.Component {
|
|||||||
this.setState({qrCode: res.data, loading: false, ticket: res.data2});
|
this.setState({qrCode: res.data, loading: false, ticket: res.data2});
|
||||||
this.clearPolling();
|
this.clearPolling();
|
||||||
this.pollingTimer = setInterval(() => {
|
this.pollingTimer = setInterval(() => {
|
||||||
Util.getEvent(application, wechatProviderItem.provider, res.data2, "login");
|
Util.getEvent(application, wechatProviderItem.provider, res.data2, "signup");
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
this.setState({qrCode: null, loading: false, ticket: null});
|
this.setState({qrCode: null, loading: false, ticket: null});
|
||||||
|
Reference in New Issue
Block a user