Skip to content

Commit 8bdf4c1

Browse files
CloudFlo2312cesmarvin
authored andcommitted
Merge branch 'release/v1.6.0-2'
2 parents bb1ab56 + 8d8b8ff commit 8bdf4c1

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v1.6.0-2] - 2022-04-29
10+
11+
### Fixed
12+
- Fixed a bug where the pwd-reset checkbox was checked without any effect (#55)
13+
914
## [v1.6.0-1] - 2022-04-27
1015
Note: CAS version >= 6.5.3-2 is required for this version.
1116

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN set -x \
88
FROM registry.cloudogu.com/official/java:8u302-1
99

1010
LABEL NAME="official/usermgt" \
11-
VERSION="1.6.0-1" \
11+
VERSION="1.6.0-2" \
1212
maintainer="[email protected]"
1313

1414
# mark as webapp for nginx

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Set these to the desired values
22
ARTIFACT_ID=usermgt
3-
VERSION=1.6.0-1
3+
VERSION=1.6.0-2
44
# overwrite ADDITIONAL_LDFLAGS to disable static compilation
55
# this should fix https://github.com/golang/go/issues/13470
66
ADDITIONAL_LDFLAGS=""

app/src/main/webapp/scripts/users/controllers.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,8 @@ angular.module('universeadm.users.controllers', ['ui.bootstrap', 'universeadm.va
117117
return !$scope.create && $scope.user.pwdReset;
118118
}
119119

120-
121-
$scope.checkPwdResetCheckbox = false;
122120
passwordResetHandlingService.getPasswordResetDefaultValue().then(function (pwdReset) {
123-
$scope.checkPwdResetCheckbox = isEditUserAndUserMustPwdReset() || ($scope.create && pwdReset);
121+
$scope.user.pwdReset = isEditUserAndUserMustPwdReset() || ($scope.create && pwdReset);
124122
});
125123

126124
$scope.containsIllegalChar = function (username) {

app/src/main/webapp/views/user/edit.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h1>{{create ? 'New user' : 'Account'}}</h1>
101101
</strong>
102102
</div>
103103
<div class="form-group" ng-hide="userIsCurrentUser">
104-
<input id="pwdResetAtFirstLogin" name="pwdReset" type="checkbox" ng-checked="checkPwdResetCheckbox" class="form-control" placeholder="Reset Password at initial login" ng-model="user.pwdReset">
104+
<input id="pwdResetAtFirstLogin" name="pwdReset" type="checkbox" ng-checked="user.pwdReset" class="form-control" placeholder="Reset Password at initial login" ng-model="user.pwdReset">
105105
<label>The user must change the password at the next login</label>
106106
</div>
107107
<button type="submit" class="btn btn-primary" ng-click="save(user)" ng-disabled="form.$invalid || isUnchanged(user)">

dogu.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/usermgt",
3-
"Version": "1.6.0-1",
3+
"Version": "1.6.0-2",
44
"DisplayName": "User Management",
55
"Description": "User and Group Management.",
66
"Category": "Administration Apps",

0 commit comments

Comments
 (0)