File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
api/src/main/java/org/apache/cloudstack/api/response Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public class LoginCmdResponse extends AuthenticationCmdResponse {
9292
9393 @ SerializedName (value = ApiConstants .PASSWORD_CHANGE_REQUIRED )
9494 @ Param (description = "Indicates whether the User is required to change password on next login." , since = "4.23.0" )
95- private String passwordChangeRequired ;
95+ private Boolean passwordChangeRequired ;
9696
9797 public String getUsername () {
9898 return username ;
@@ -228,11 +228,11 @@ public void setManagementServerId(String managementServerId) {
228228 this .managementServerId = managementServerId ;
229229 }
230230
231- public String getPasswordChangeRequired () {
231+ public Boolean getPasswordChangeRequired () {
232232 return passwordChangeRequired ;
233233 }
234234
235235 public void setPasswordChangeRequired (String passwordChangeRequired ) {
236- this .passwordChangeRequired = passwordChangeRequired ;
236+ this .passwordChangeRequired = Boolean . parseBoolean ( passwordChangeRequired ) ;
237237 }
238238}
Original file line number Diff line number Diff line change @@ -511,7 +511,6 @@ const user = {
511511 vueProps . $localStorage . remove ( ACCESS_TOKEN )
512512 vueProps . $localStorage . remove ( HEADER_NOTICES )
513513
514- vueProps . $localStorage . remove ( PASSWORD_CHANGE_REQUIRED )
515514 commit ( 'SET_PASSWORD_CHANGE_REQUIRED' , false )
516515
517516 logout ( state . token ) . then ( ( ) => {
You can’t perform that action at this time.
0 commit comments