Update UserResource.java
In my opinion, the old documentation does not match the actual behaviour of the resetPassword method.
This commit is contained in:
1 parent
2a4cee6044
commit
c41bcddd8d
1 file changed
+2
-4
@@ -561,11 +561,9 @@ public class UserResource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up a temporary password for the user
|
||||
* Set up a new password for the user.
|
||||
*
|
||||
* User will have to reset the temporary password next time they log in.
|
||||
*
|
||||
* @param pass A Temporary password
|
||||
* @param pass The representation must contain a value and the type equals to "password"
|
||||
*/
|
||||
@Path("reset-password")
|
||||
@PUT
|
||||
|
||||
Reference in new issue
Block a user