| Conditions | 2 |
| Total Lines | 7 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | package com.osomapps.pt.tokenemail; |
||
| 29 | @GetMapping("{resetToken}") |
||
| 30 | String create(@PathVariable String resetToken) { |
||
| 31 | final Optional<String> newPassword = tokenEmailSignupService.resetToken(resetToken); |
||
| 32 | if (newPassword.isPresent()) { |
||
| 33 | return "Your password was reseted to the " + newPassword.get(); |
||
| 34 | } |
||
| 35 | return ""; |
||
| 36 | } |
||
| 38 |