Parcourir la source

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

Jason Rivard il y a 5 ans
Parent
commit
bb7235597e

+ 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" ) );
     }