From 72d839e0491b0cd3fa05d9eff6741a5dbc4ad066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 4 Mar 2021 09:57:51 +0800 Subject: [PATCH] aa --- business/auth2/authprovider/password/password.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/business/auth2/authprovider/password/password.go b/business/auth2/authprovider/password/password.go index 9360804bf..5c5f97d17 100644 --- a/business/auth2/authprovider/password/password.go +++ b/business/auth2/authprovider/password/password.go @@ -81,9 +81,6 @@ func (a *Auther) encryptPassword(password, salt string) string { } func (a *Auther) checkPassword(authBind *model.AuthBind, passMD5 string) (err error) { - fmt.Println("1111111111111111111111", a.encryptPassword(passMD5, authBind.AuthSecret2)) - fmt.Println("2222222222222222222", authBind.AuthSecret) - if authBind.AuthSecret != a.encryptPassword(passMD5, authBind.AuthSecret2) { return ErrUserAndPassNotMatch }