projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44b8085
)
applied patch for CRM-12705
author
Kurund Jalmi
<kurund@civicrm.org>
Tue, 28 May 2013 07:28:30 +0000
(12:58 +0530)
committer
Kurund Jalmi
<kurund@civicrm.org>
Tue, 28 May 2013 07:28:30 +0000
(12:58 +0530)
CRM/Utils/System/Drupal6.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Drupal6.php
b/CRM/Utils/System/Drupal6.php
index 9ccc982b0c56d37253c77cffed17e2e4500fb57e..e7a3dfe5e71d1ca2e8c058a9b85e9c4e46dd4b39 100644
(file)
--- a/
CRM/Utils/System/Drupal6.php
+++ b/
CRM/Utils/System/Drupal6.php
@@
-93,7
+93,9
@@
class CRM_Utils_System_Drupal6 extends CRM_Utils_System_Base {
'mail' => $params[$mail],
'op' => 'Create new account',
);
- if (!variable_get('user_email_verification', TRUE)) {
+
+ $admin = user_access('administer users');
+ if (!variable_get('user_email_verification', TRUE) || $admin) {
$form_state['values']['pass']['pass1'] = $params['cms_pass'];
$form_state['values']['pass']['pass2'] = $params['cms_pass'];
}