File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -419,11 +419,12 @@ func WarpedJwtHandler() iris.Handler {
419419func AddV1Route (app iris.Party ) {
420420
421421 v1Party := app .Party ("/v1" )
422- v1Party .Use (langHandler ())
423- v1Party .Use (pageHandler ())
422+
424423 session .Install (v1Party )
425424 mfa .Install (v1Party )
426425 authParty := v1Party .Party ("" )
426+ v1Party .Use (langHandler ())
427+ v1Party .Use (pageHandler ())
427428
428429 authParty .Use (WarpedJwtHandler ())
429430 authParty .Use (authHandler ())
@@ -436,7 +437,7 @@ func AddV1Route(app iris.Party) {
436437 user .Install (authParty )
437438 cluster .Install (authParty )
438439 role .Install (authParty )
439- system .Install (v1Party )
440+ system .Install (authParty )
440441 proxy .Install (authParty )
441442 ws .Install (authParty )
442443 chart .Install (authParty )
You can’t perform that action at this time.
0 commit comments