From 6cef3c6eb3dceca3fe8b666057452fe302108093 Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Mon, 13 Apr 2015 12:35:25 -0600 Subject: [PATCH] Add documentation for CreateBCryptHash --- TShockAPI/DB/UserManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TShockAPI/DB/UserManager.cs b/TShockAPI/DB/UserManager.cs index 18e95f03..d897ab18 100755 --- a/TShockAPI/DB/UserManager.cs +++ b/TShockAPI/DB/UserManager.cs @@ -409,6 +409,8 @@ namespace TShockAPI.DB } } + /// Creates a BCrypt hash for a user and stores it in this object. + /// string password - the plain text password to hash public void CreateBCryptHash(string password) { try { this.Password = BCrypt.Net.BCrypt.HashPassword(password, TShock.Config.BCryptWorkFactor);