Uses of Record Class
org.ntnu.idi.idatt2106.sparesti.sparestibackend.dto.user.ResetPasswordRequest
Packages that use ResetPasswordRequest
Package
Description
-
Uses of ResetPasswordRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.controller with parameters of type ResetPasswordRequestModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<String> ChangePasswordController.resetPassword
(ResetPasswordRequest resetPasswordRequest) Resets a user's password -
Uses of ResetPasswordRequest in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service
Methods in org.ntnu.idi.idatt2106.sparesti.sparestibackend.service with parameters of type ResetPasswordRequestModifier and TypeMethodDescriptionvoid
ChangePasswordRequestService.resetPassword
(ResetPasswordRequest request) Resets the user's password if the reset request is valid, the user exists, and the request was made within 24 hours of the change request.