Ignore:
Timestamp:
02/04/23 18:48:07 (22 months ago)
Author:
milamihajlovska <mila.mihajlovska01@…>
Branches:
master
Children:
6032d44
Parents:
adf250d
Message:

register method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/moviezone/model/Customer.java

    radf250d r27adfc8  
    2525    Integer points;
    2626
     27//    public Customer(String password, String first_name, String last_name, String address, String contact_number, String username) {
     28//        super(password, first_name, last_name, address, contact_number, username);
     29//    }
     30
    2731    @Override
    2832    public Collection<? extends GrantedAuthority> getAuthorities() {
    29         return Collections.singletonList(Role.ROLE_ADMIN);
     33        return Collections.singletonList(Role.ROLE_USER);
    3034    }
    3135
Note: See TracChangeset for help on using the changeset viewer.