mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-05 16:50:29 +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.clearPolling();
|
||||
this.pollingTimer = setInterval(() => {
|
||||
Util.getEvent(application, wechatProviderItem.provider, res.data2, "login");
|
||||
Util.getEvent(application, wechatProviderItem.provider, res.data2, "signup");
|
||||
}, 1000);
|
||||
} else {
|
||||
this.setState({qrCode: null, loading: false, ticket: null});
|
||||
|
Reference in New Issue
Block a user