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