Almost finish login-register-system
This commit is contained in:
@@ -17,7 +17,7 @@ namespace reallife_gamemode.Server.Events
|
||||
[RemoteEvent("OnPlayerLogin")]
|
||||
public void OnPlayerLogin(Client player, string password)
|
||||
{
|
||||
var checkPassword = "";
|
||||
string checkPassword = null;
|
||||
using (var loginContext = new Model.DatabaseContext())
|
||||
{
|
||||
var user = loginContext.Users.SingleOrDefault(b => b.Name == player.Name);
|
||||
|
||||
Reference in New Issue
Block a user