1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 07:13:13 +02:00

Increase the size of the random codes in ns_register and ns_set.

This commit is contained in:
Sadie Powell
2024-02-19 22:29:17 +00:00
parent 22fe5bb724
commit 1fb77e414d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -513,7 +513,7 @@ class CommandNSSetEmail
{
static bool SendConfirmMail(User *u, NickCore *nc, BotInfo *bi, const Anope::string &new_email)
{
Anope::string code = Anope::Random(9);
Anope::string code = Anope::Random(15);
std::pair<Anope::string, Anope::string> *n = nc->Extend<std::pair<Anope::string, Anope::string> >("ns_set_email");
n->first = new_email;