[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # target: string. URL to go to after login. #%] [% IF !target %] [% target = "index.cgi" %] [% END %] [% PROCESS global/header.html.tmpl title = "Log in to $terms.Bugzilla", onload = "document.forms['login'].Bugzilla_login.focus()" %] [% USE Bugzilla %]
[% terms.Bugzilla %] needs a legitimate login and password to continue.
[% Hook.process('additional_methods') %] [%# Allow the user to create a new account, or request a token to change # their password, assuming that our auth method allows that. #%] [% IF Param("createemailregexp") && user.authorizer.user_can_create_account %]If you don't have a [% terms.Bugzilla %] account, you can create a new account. [% IF Param("requirelogin") %] A user account is required because this [% terms.Bugzilla %] installation is only accessible to authenticated users. [% ELSIF target.match("_bug\.cgi$") %] A user account is required to file a new [% terms.bug %] or to comment into existing ones so that you can be contacted if more information is needed. [% END %]
[% END %] [% IF user.authorizer.can_change_password %]