mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix bug
This commit is contained in:
parent
b64f141f9a
commit
a05e5b6bca
@ -31,7 +31,7 @@ func Verify(c *gin.Context) {
|
|||||||
if params.Email != "" {
|
if params.Email != "" {
|
||||||
account = params.Email
|
account = params.Email
|
||||||
} else {
|
} else {
|
||||||
account = params.PhoneNumber
|
account = params.AreaCode + params.PhoneNumber
|
||||||
}
|
}
|
||||||
|
|
||||||
if params.VerificationCode == config.Config.Demo.SuperCode {
|
if params.VerificationCode == config.Config.Demo.SuperCode {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user