mirror of
https://github.com/project-redbud/FunGame-Server.git
synced 2025-04-23 04:29:38 +08:00
注册时需要留下LastIP
This commit is contained in:
parent
19e9ae9245
commit
d5dbc53925
@ -294,7 +294,7 @@ namespace Milimoe.FunGame.Server.Model
|
||||
if (RegVerify.Equals(SQLHelper.DataSet.Tables[0].Rows[0][RegVerifyCodes.Column_RegVerifyCode]))
|
||||
{
|
||||
ServerHelper.WriteLine("[" + ServerSocket.GetTypeString(type) + "] UserName: " + username + " Email: " + email);
|
||||
SQLHelper.Execute(UserQuery.Insert_Register(username, password, email), out result);
|
||||
SQLHelper.Execute(UserQuery.Insert_Register(username, password, email, socket.ClientIP), out result);
|
||||
if (result == SQLResult.Success)
|
||||
{
|
||||
msg = "注册成功!请牢记您的账号与密码!";
|
||||
|
Loading…
x
Reference in New Issue
Block a user