Rethought login

This commit is contained in:
2024-07-08 13:34:54 -03:00
parent fe52566872
commit a896f2e032
3 changed files with 26 additions and 8 deletions

View File

@ -20,7 +20,7 @@ class Config
end
class ConfigAuthHandler < Kemal::BasicAuth::Handler
only ["/auth"]
only ["/auth", "/auth/*"]
def call(context)
return call_next(context) unless only_match?(context)