File tree Expand file tree Collapse file tree
java/NextLevel/demo/user/controller Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020import org .springframework .security .core .GrantedAuthority ;
2121import org .springframework .security .core .authority .SimpleGrantedAuthority ;
2222import org .springframework .security .core .context .SecurityContextHolder ;
23+ import org .springframework .stereotype .Controller ;
2324import org .springframework .web .bind .annotation .GetMapping ;
2425import org .springframework .web .bind .annotation .ModelAttribute ;
2526import org .springframework .web .bind .annotation .PostMapping ;
2930import org .springframework .web .bind .annotation .RequestParam ;
3031import org .springframework .web .bind .annotation .RestController ;
3132
32- @ RestController
33+ @ Controller
3334@ RequestMapping ("/public/login" )
3435@ RequiredArgsConstructor
3536public class LoginController {
Original file line number Diff line number Diff line change 3131
3232 <root level =" INFO" >
3333 <appender-ref ref =" CONSOLE" />
34+ <appender-ref ref =" FILE1" />
3435 </root >
3536
3637 <logger name =" NextLevel.demo.config" level =" INFO" additivity =" false" >
You can’t perform that action at this time.
0 commit comments