1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Update FreeBSD.org cluster-specific patch to match what is running on

bugs.freebsd.org/bugzilla/.
This commit is contained in:
Peter Wemm 2014-07-29 00:39:33 +00:00
parent 95ea30709e
commit 15d8f62d88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363280

View File

@ -9,3 +9,16 @@
}
$params->{realname} ||= $user_entry->get_value("displayName");
--- token.cgi.dist 2014-06-03 00:27:29.279355734 +0000
+++ token.cgi 2014-06-03 00:37:48.727359133 +0000
@@ -122,6 +122,10 @@
my $login_name = $cgi->param('loginname')
or ThrowUserError("login_needed_for_password_change");
+ if ($login_name =~ /[@.]FreeBSD\.org$/i) {
+ ThrowUserError("password_change_requests_not_allowed");
+ }
+
check_email_syntax($login_name);
my $user = Bugzilla::User->check($login_name);