Ignore:
Timestamp:
01/06/21 21:42:22 (4 years ago)
Author:
i-ina <76742075+i-ina@…>
Branches:
master
Children:
9d4220d
Parents:
721cb87
Message:

added user registration

Location:
src/main/java/it/finki/tinki/service/impl
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/it/finki/tinki/service/impl/AccountServiceImpl.java

    r721cb87 r4a15c9c  
    4040
    4141        if(type.equals(AccountType.USER)){
    42             User u1 = userRepository.findByEmailAndPassword(email, password);
     42            User u1 = this.userRepository.findByEmailAndPassword(email, password);
    4343            return u1;
    4444        }
    4545        else if(type.equals(AccountType.TEAM)){
    46             Team t1 = teamRepository.findByEmailAndPassword(email, password);
     46            Team t1 = this.teamRepository.findByEmailAndPassword(email, password);
    4747            return t1;
    4848        }
    4949        else if(type.equals(AccountType.COMPANY)){
    50             Company c1 = companyRepository.findByEmailAndPassword(email, password);
     50            Company c1 = this.companyRepository.findByEmailAndPassword(email, password);
    5151            return c1;
    5252        }
Note: See TracChangeset for help on using the changeset viewer.