mirror of https://github.com/apache/archiva.git
fix lock/unlock user from link in the users grid
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1215290 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d6a6f7b316
commit
8cf86eda66
|
@ -82,18 +82,21 @@ $(function() {
|
|||
this.lock = function(user){
|
||||
clearUserMessages();
|
||||
user.locked(true);
|
||||
window.redbackModel.createUser=false;
|
||||
user.save();
|
||||
}
|
||||
|
||||
this.unlock = function(user){
|
||||
clearUserMessages();
|
||||
user.locked(false);
|
||||
window.redbackModel.createUser=false;
|
||||
user.save();
|
||||
}
|
||||
|
||||
this.passwordChangeRequire = function(user,forceChangedPassword){
|
||||
clearUserMessages();
|
||||
user.passwordChangeRequired(forceChangedPassword);
|
||||
window.redbackModel.createUser=false;
|
||||
user.save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue