Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 289821 Details for
Bug 387167
www-apps/concerto - Concerto Digital Signage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to allow users to change their passwords
concerto-1.9.3-password-change-fix.patch (text/plain), 936 bytes, created by
Scott Alfter
on 2011-10-14 21:02:39 UTC
(
hide
)
Description:
patch to allow users to change their passwords
Filename:
MIME Type:
Creator:
Scott Alfter
Created:
2011-10-14 21:02:39 UTC
Size:
936 bytes
patch
obsolete
>--- concerto-1.9.3-NoCAS/admin/app/users/controller.php 2011-06-17 11:00:56.035168758 -0700 >+++ concerto-1.9.3-NoCAS-patched/admin/app/users/controller.php 2011-05-06 15:01:20.000000000 -0700 >@@ -151,6 +151,21 @@ > { > $user = new User($this->args[1]); > $dat = $_POST['user']; >+ >+ // saa 6 May 11 >+ // http://itissues.catholiccharities.com/details.aspx?iid=7982 >+ // enable password changing from the user profile edit page >+ if ($dat['np1']!=$dat['np2']) >+ { >+ $_SESSION['flash'][]=Array('error', 'Passwords don\'t match...try again.'); >+ redirect_to(ADMIN_URL.'/users/edit/'.$this->args[1]); >+ } >+ if ($dat['np1']!='') >+ { >+ $passwdhash=md5($dat['np1']); >+ $sql='update user set password=\''.$passwdhash.'\' where id='.$user->id; >+ sql_query($sql); >+ } > > //We don't want anyone modifying these properties > //of their own profiles
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 387167
:
289813
|
289815
|
289817
|
289819
| 289821 |
289823
|
289825
|
289827
|
289833
|
289835