Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
b179a193
Commit
b179a193
authored
9 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix param for username is $username and not $login
parent
a2ae9b9c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/core/tpl/passwordforgotten.tpl.php
+2
-2
2 additions, 2 deletions
htdocs/core/tpl/passwordforgotten.tpl.php
htdocs/user/passwordforgotten.php
+1
-1
1 addition, 1 deletion
htdocs/user/passwordforgotten.php
with
3 additions
and
3 deletions
htdocs/core/tpl/passwordforgotten.tpl.php
+
2
−
2
View file @
b179a193
...
...
@@ -48,7 +48,7 @@ $(document).ready(function () {
<div
class=
"login_vertical_align"
>
<form
id=
"login"
name=
"login"
method=
"
post
"
action=
"
<?php
echo
$php_self
;
?>
"
>
<form
id=
"login"
name=
"login"
method=
"
POST
"
action=
"
<?php
echo
$php_self
;
?>
"
>
<input
type=
"hidden"
name=
"token"
value=
"
<?php
echo
$_SESSION
[
'newtoken'
];
?>
"
>
<input
type=
"hidden"
name=
"action"
value=
"buildnewpassword"
>
...
...
@@ -77,7 +77,7 @@ $(document).ready(function () {
<tr>
<td
valign=
"bottom"
class=
"nowrap center"
>
<span
class=
"span-icon-user"
>
<input
type=
"text"
placeholder=
"
<?php
echo
$langs
->
trans
(
"Login"
);
?>
"
<?php
echo
$disabled
;
?>
id=
"username"
name=
"username"
class=
"flat input-icon-user"
size=
"20"
value=
"
<?php
echo
dol_escape_htmltag
(
$
login
);
?>
"
tabindex=
"1"
/>
<input
type=
"text"
placeholder=
"
<?php
echo
$langs
->
trans
(
"Login"
);
?>
"
<?php
echo
$disabled
;
?>
id=
"username"
name=
"username"
class=
"flat input-icon-user"
size=
"20"
value=
"
<?php
echo
dol_escape_htmltag
(
$
username
);
?>
"
tabindex=
"1"
/>
</span>
</td>
</tr>
...
...
This diff is collapsed.
Click to expand it.
htdocs/user/passwordforgotten.php
+
1
−
1
View file @
b179a193
...
...
@@ -2,7 +2,7 @@
/* Copyright (C) 2007-2011 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2008-2012 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2008-2011 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2014 Teddy Andreotti <125155@supinfo.com>
* Copyright (C) 2014
Teddy Andreotti <125155@supinfo.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment