Ignore:
Timestamp:
10/18/22 00:50:33 (2 years ago)
Author:
Gjoko <goko_kostadinov@…>
Branches:
master
Children:
763289e
Parents:
401a211
Message:

Adding register customer functionality

Location:
src/main/java/edu/gjoko/schedlr/config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/edu/gjoko/schedlr/config/AppSecurityConfig.java

    r401a211 r204464d  
    4747                .authorizeRequests()
    4848                .antMatchers("/login*").permitAll()
     49                .antMatchers("/register_customer").permitAll()
     50                .antMatchers("/register_business").permitAll()
    4951                .antMatchers("/css/**").permitAll()
    5052                .antMatchers("/anonymous*").anonymous()
  • src/main/java/edu/gjoko/schedlr/config/MvcConfig.java

    r401a211 r204464d  
    1111    public void addViewControllers(ViewControllerRegistry registry) {
    1212        registry.addViewController("/login").setViewName("login");
    13         registry.addViewController("/register/user").setViewName("register_user");
    14         registry.addViewController("/register/business").setViewName("register_business");
     13        registry.addViewController("/register_customer").setViewName("register_customer");
     14        registry.addViewController("/register_business").setViewName("register_business");
    1515        registry.addViewController("/homepage").setViewName("homepage");
    1616    }
Note: See TracChangeset for help on using the changeset viewer.