index-ffg is only for oauth
This commit is contained in:
@@ -57,7 +57,7 @@ class AuthFilter: Filter {
|
|||||||
chain.doFilter(req, resp)
|
chain.doFilter(req, resp)
|
||||||
} else {
|
} else {
|
||||||
// TODO - protection against brute force attacks
|
// TODO - protection against brute force attacks
|
||||||
if (uri.endsWith("/index")) {
|
if (uri.endsWith("/index") && auth == "oauth") {
|
||||||
response.sendRedirect("/index-ffg")
|
response.sendRedirect("/index-ffg")
|
||||||
} else {
|
} else {
|
||||||
response.sendRedirect("/login")
|
response.sendRedirect("/login")
|
||||||
|
Reference in New Issue
Block a user