fix: Fixes looking up accounts that were renamed. (#2078)

This commit is contained in:
Kamron Batman 2025-01-18 17:11:43 -08:00 • committed by GitHub
parent d92b735c18
commit b4b7182ce6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 3 deletions

View file

@ -97,7 +97,7 @@ public interface IGoldAccount
public interface IAccount : ISerializable, IGoldAccount, IComparable<IAccount>
{
string Username { get; set; }
string Username { get; }
string Email { get; set; }
AccessLevel AccessLevel { get; set; }
@ -107,6 +107,7 @@ public interface IAccount : ISerializable, IGoldAccount, IComparable<IAccount>
Mobile this[int index] { get; set; }
void Delete();
bool TrySetUsername(string username);
void SetPassword(string password);
bool CheckPassword(string password);
}