Ignore:
Timestamp:
07/10/13 11:08:30 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
ed24336
Parents:
e961598
Message:

Add ability to PEFS encrypt users home-directories when we
create a new user via the user-manager GUI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-usermanager/maindlgcode.cpp

    r14f87ef r87d35b7  
    140140    //Do not allow the removal of the currently logged in user 
    141141    if (getenv("USER") == username) deleteButton->setEnabled(false); 
     142 
     143    if ( user->getEnc() ) 
     144      passwordButton->setEnabled(false); 
     145    else 
     146      passwordButton->setEnabled(true); 
    142147     
    143148    QString uid = QString::number(user->getUid()); 
Note: See TracChangeset for help on using the changeset viewer.