Added /users/update/{user} endpoint

This commit is contained in:
Lucas Nicodemus 2011-09-05 03:54:24 -06:00
parent 017bbbca89
commit 34b3252a31

View file

@ -67,7 +67,7 @@ namespace TShockAPI
hash = Tools.HashPassword(randbytes);
} while (Tokens.ContainsKey(hash));
Tokens.Add(hash, new Object());
Tokens.Add(hash, user);
return new Dictionary<string, string> { { "status", "200" } , { "token", hash } }; ;
}