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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user