Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
bb909eae
Commit
bb909eae
authored
Feb 23, 2016
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1250354: The "Forgot password" link should not be displayed if users are…
Bug 1250354: The "Forgot password" link should not be displayed if users are not allowed to change it r/a=dkl
parent
b241244b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
login-small.html.tmpl
template/en/default/account/auth/login-small.html.tmpl
+8
-6
No files found.
template/en/default/account/auth/login-small.html.tmpl
View file @
bb909eae
...
@@ -27,8 +27,6 @@
...
@@ -27,8 +27,6 @@
<a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]"
<a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]"
onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a>
onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a>
[% Hook.process('additional_methods') %]
<form action="[% login_target FILTER html %]" method="POST"
<form action="[% login_target FILTER html %]" method="POST"
class="mini_login bz_default_hidden"
class="mini_login bz_default_hidden"
id="mini_login[% qs_suffix FILTER html %]">
id="mini_login[% qs_suffix FILTER html %]">
...
@@ -56,7 +54,11 @@
...
@@ -56,7 +54,11 @@
<a href="#" onclick="return hide_mini_login_form('[% qs_suffix %]')">[x]</a>
<a href="#" onclick="return hide_mini_login_form('[% qs_suffix %]')">[x]</a>
</form>
</form>
</li>
</li>
<li id="forgot_container[% qs_suffix %]">
[% Hook.process('additional_methods') %]
[% IF user.authorizer.can_change_password %]
<li id="forgot_container[% qs_suffix %]">
<span class="separator">| </span>
<span class="separator">| </span>
<a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
<a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot"
onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a>
onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a>
...
@@ -69,11 +71,11 @@
...
@@ -69,11 +71,11 @@
[% ELSE %]
[% ELSE %]
type="email" placeholder="Your Email Address"
type="email" placeholder="Your Email Address"
[% END %]>
[% END %]>
<input id="forgot_button[% qs_suffix %]" value="Reset Password"
<input id="forgot_button[% qs_suffix %]" value="Reset Password" type="submit">
type="submit">
<input type="hidden" name="a" value="reqpw">
<input type="hidden" name="a" value="reqpw">
<input type="hidden" id="token[% qs_suffix FILTER html %]" name="token"
<input type="hidden" id="token[% qs_suffix FILTER html %]" name="token"
value="[% issue_hash_token(['reqpw']) FILTER html %]">
value="[% issue_hash_token(['reqpw']) FILTER html %]">
<a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a>
<a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a>
</form>
</form>
</li>
</li>
[% END %]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment