mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
convert login.ini to login.json, stole jumber's idea about auto-updating old passwords (wip still)
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ struct EQ::Net::ConsoleLoginStatus CheckLogin(const std::string& username, const
|
||||
std::string prefix = "eqemu";
|
||||
std::string raw_user = "";
|
||||
|
||||
auto split = SplitString(username, ':');
|
||||
auto split = SplitString(username, '.');
|
||||
if (split.size() == 2) {
|
||||
prefix = split[0];
|
||||
raw_user = split[1];
|
||||
@@ -399,7 +399,7 @@ void ConsoleSetPass(EQ::Net::ConsoleServerConnection* connection, const std::str
|
||||
std::string prefix = "eqemu";
|
||||
std::string raw_user = "";
|
||||
|
||||
auto split = SplitString(args[0], ':');
|
||||
auto split = SplitString(args[0], '.');
|
||||
if (split.size() == 2) {
|
||||
prefix = split[0];
|
||||
raw_user = split[1];
|
||||
|
||||
Reference in New Issue
Block a user