[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/accounts/class.accounts_sql.php, 1.1.1.1.2.21
From: |
nomail |
Subject: |
[Phpgroupware-cvs] api/accounts/class.accounts_sql.php, 1.1.1.1.2.21 |
Date: |
Mon, 28 Jun 2004 23:40:58 +0200 |
Update of /api/accounts
Modified Files:
Branch: proposal-branch
class.accounts_sql.php
date: 2004/06/28 21:40:58; author: jengo; state: Exp; lines: +2 -2
Log Message:
- Changed parameter order on auth->change_password()
- There is now a base class (api_auth_base) which api_auth_* extends off,
_create_password() and _verify_password() were moved into it since they are
shared.
- Presently, in order to change your password you need to have ACL rights to
edit accounts. This is only temp so it allows me to make some other fixes. I
also did this becuase normal users will have to enter there current password in
order to change theres. Which will also be required from all interfaces.
- New accounts call auth->create_password and use the system default now
=====================================================================
Index: api/accounts/class.accounts_sql.php
diff -u api/accounts/class.accounts_sql.php:1.1.1.1.2.20
api/accounts/class.accounts_sql.php:1.1.1.1.2.21
--- api/accounts/class.accounts_sql.php:1.1.1.1.2.20 Sat May 8 22:31:25 2004
+++ api/accounts/class.accounts_sql.php Mon Jun 28 21:40:58 2004
@@ -376,7 +376,7 @@
$account_id,
'".
$args['account_lid'] . "',
'" .
$args['account_type'] . "','"
- .
md5($args['account_passwd']) . "',
+ .
execMethod('api.auth._create_password',$args['account_passwd']) . "',
'" .
$args['account_firstname'] . "',
'" .
$args['account_lastname'] . "',
'" .
$args['account_status'] . "',
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/accounts/class.accounts_sql.php, 1.1.1.1.2.21,
nomail <=