浏览代码

fix incorrect error msg challenge profiles not being assigned when actual error is password profile not being assigned

Jason Rivard 5 年之前
父节点
当前提交
bb7235597e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      server/src/main/java/password/pwm/util/password/PasswordUtility.java

+ 1 - 1
server/src/main/java/password/pwm/util/password/PasswordUtility.java

@@ -993,7 +993,7 @@ public class PasswordUtility
             }
         }
 
-        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_NO_PROFILE_ASSIGNED, "no challenge profile is configured" ) );
+        throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_NO_PROFILE_ASSIGNED, "no password profile is assigned to user" ) );
     }