- fix bug in weixinmini.init
This commit is contained in:
@@ -27,7 +27,7 @@ var (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
AutherObjMini = new(MiniAuther)
|
AutherObjMini = new(MiniAuther)
|
||||||
auth2.RegisterAuther(AuthTypeMP, AutherObjMini)
|
auth2.RegisterAuther(AuthTypeMini, AutherObjMini)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *MiniAuther) VerifySecret(dummy, jsCode string) (authBind *model.AuthBind, err error) {
|
func (a *MiniAuther) VerifySecret(dummy, jsCode string) (authBind *model.AuthBind, err error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user