mirror of
https://github.com/wahyd4/loginsrv.git
synced 2026-08-09 04:46:29 +10:00
changed caddy directive name to login
This commit is contained in:
+2
-2
@@ -11,11 +11,11 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
caddy.RegisterPlugin("loginsrv", caddy.Plugin{
|
||||
caddy.RegisterPlugin("login", caddy.Plugin{
|
||||
ServerType: "http",
|
||||
Action: setup,
|
||||
})
|
||||
httpserver.RegisterDevDirective("loginsrv", "jwt")
|
||||
httpserver.RegisterDevDirective("login", "jwt")
|
||||
}
|
||||
|
||||
// setup configures a new loginsrv instance.
|
||||
|
||||
Reference in New Issue
Block a user