Last change
on this file was 74af394, checked in by makyjovanovsky <mjovanovski04@…>, 17 months ago |
login/register with mail confirmation
|
-
Property mode
set to
100644
|
File size:
476 bytes
|
Rev | Line | |
---|
[74af394] | 1 | package com.example.salonbella.repository;
|
---|
| 2 |
|
---|
| 3 | import com.example.salonbella.entity.ConfirmationTokenEntity;
|
---|
| 4 | import com.example.salonbella.entity.UserEntity;
|
---|
| 5 | import org.springframework.data.jpa.repository.JpaRepository;
|
---|
| 6 | import org.springframework.stereotype.Repository;
|
---|
| 7 |
|
---|
| 8 | import java.util.Optional;
|
---|
| 9 |
|
---|
| 10 | @Repository
|
---|
| 11 | public interface ConfirmationTokenRepository extends JpaRepository<ConfirmationTokenEntity, Long> {
|
---|
| 12 | Optional<ConfirmationTokenEntity> findByToken(String token);
|
---|
| 13 |
|
---|
| 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.