Cody Joyce 2 tháng trước cách đây
mục cha
commit
0d78a48b1a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      srv/rtr.go

+ 1 - 1
srv/rtr.go

@@ -38,7 +38,7 @@ func Route(pattern string, roles []string, handler func(req *Req, res *Res)) {
 		}
 
 		if !proceed {
-			res.Redirect("/403")
+			res.Redirect("/403?referrer=" + req.Path)
 			return
 		}