Dotclear


Ignore:
Timestamp:
07/12/19 10:08:57 (6 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add a warning about missing permission for newly created user, thanks Bernard for this suggestion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/user.php

    r3985 r4008  
    142142 
    143143            dcPage::addSuccessNotice(__('User has been successfully created.')); 
     144            dcPage::addWarningNotice(__('User has no permission, he will not be able to login yet. See below to add some.')); 
    144145            if (!empty($_POST['saveplus'])) { 
    145146                $core->adminurl->redirect("admin.user"); 
     
    159160    dcPage::jsLoad('js/jquery/jquery.pwstrength.js') . 
    160161    dcPage::jsJson('user', [ 
    161             sprintf(__('Password strength: %s'), __('very weak')), 
    162             sprintf(__('Password strength: %s'), __('weak')), 
    163             sprintf(__('Password strength: %s'), __('mediocre')), 
    164             sprintf(__('Password strength: %s'), __('strong')), 
    165             sprintf(__('Password strength: %s'), __('very strong')) 
    166         ]) . 
     162        sprintf(__('Password strength: %s'), __('very weak')), 
     163        sprintf(__('Password strength: %s'), __('weak')), 
     164        sprintf(__('Password strength: %s'), __('mediocre')), 
     165        sprintf(__('Password strength: %s'), __('strong')), 
     166        sprintf(__('Password strength: %s'), __('very strong')) 
     167    ]) . 
    167168    dcPage::jsLoad('js/_user.js') . 
    168169    $core->callBehavior('adminUserHeaders'), 
Note: See TracChangeset for help on using the changeset viewer.

Sites map