clean up chatto application class
This commit is contained in:
parent
ddc7f15498
commit
df8e735a9b
@ -11,23 +11,7 @@ import org.springframework.boot.web.servlet.support.SpringBootServletInitializer
|
||||
public class ChattoApplication extends SpringBootServletInitializer {
|
||||
|
||||
public static void main(String[] args) throws SQLException {
|
||||
SpringApplication application = new SpringApplication(ChattoApplication.class);
|
||||
application.run();
|
||||
|
||||
// WebCaptcha webCaptcha = WebCaptcha.builder().captchaBehaviour(new SimpleCaptchaBehavior()).build();
|
||||
// webCaptcha.generateCaptcha();
|
||||
//
|
||||
// // @formatter:off
|
||||
// webCaptcha = WebCaptcha.builder()
|
||||
// .captchaBehaviour(
|
||||
// ManualCaptchaBehaviour.builder()
|
||||
// .length(8)
|
||||
// .style("black")
|
||||
// .build()
|
||||
// ).build();
|
||||
//
|
||||
// // @formatter:on
|
||||
|
||||
SpringApplication.run(ChattoApplication.class, args);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -24,3 +24,17 @@ public class WebCaptcha {
|
||||
return captchaBehaviour.getRandomChars(quantity);
|
||||
}
|
||||
}
|
||||
|
||||
// WebCaptcha webCaptcha = WebCaptcha.builder().captchaBehaviour(new SimpleCaptchaBehavior()).build();
|
||||
// webCaptcha.generateCaptcha();
|
||||
//
|
||||
// // @formatter:off
|
||||
// webCaptcha = WebCaptcha.builder()
|
||||
// .captchaBehaviour(
|
||||
// ManualCaptchaBehaviour.builder()
|
||||
// .length(8)
|
||||
// .style("black")
|
||||
// .build()
|
||||
// ).build();
|
||||
//
|
||||
// // @formatter:on
|
||||
|
Loading…
Reference in New Issue
Block a user