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 class ChattoApplication extends SpringBootServletInitializer {
|
||||||
|
|
||||||
public static void main(String[] args) throws SQLException {
|
public static void main(String[] args) throws SQLException {
|
||||||
SpringApplication application = new SpringApplication(ChattoApplication.class);
|
SpringApplication.run(ChattoApplication.class, args);
|
||||||
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
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -24,3 +24,17 @@ public class WebCaptcha {
|
|||||||
return captchaBehaviour.getRandomChars(quantity);
|
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