Ignore:
Timestamp:
01/06/21 18:18:24 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
504c3ef
Parents:
a222a43
Message:

added user register

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/repository/UserRepository.java

    ra222a43 r7edede9  
    55import org.springframework.stereotype.Repository;
    66
     7import java.util.Optional;
     8
    79@Repository
    810public interface UserRepository extends JpaRepository<User, Long> {
    911    User findByEmailAndPassword(String email, String password);
     12    Optional<User> findByEmail(String email);
    1013}
Note: See TracChangeset for help on using the changeset viewer.