feat(be/fe): enable captcha (#69)

* feat(ui): enable captcha

* feat(server): enable captcha

* fix(ui): fix login pane layout

* fix(config): remove unused config and files

* fix(be/fe): clean up code

* chore(fe/be): clean up code
This commit is contained in:
Hexxa 2021-08-06 22:27:24 -05:00 committed by GitHub
parent 021e5090be
commit 1fcb2223a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 262 additions and 82 deletions

View file

@ -12,6 +12,9 @@ server:
writerTimeout: 86400000 # 1 day
maxHeaderBytes: 512
publicPath: "public"
captchaWidth: 256
captchaHeight: 60
captchaEnabled: true
users:
enableAuth: true
defaultAdmin: ""
@ -20,4 +23,4 @@ users:
cookieSecure: false
cookieHttpOnly: true
minUserNameLen: 2
minPwdLen: 4
minPwdLen: 4

View file

@ -12,6 +12,9 @@ server:
writerTimeout: 86400000 # 1 day
maxHeaderBytes: 512
publicPath: "/quickshare/public"
captchaWidth: 256
captchaHeight: 60
captchaEnabled: true
users:
enableAuth: true
defaultAdmin: ""
@ -21,4 +24,3 @@ users:
cookieHttpOnly: true
minUserNameLen: 4
minPwdLen: 6