Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4755 Lượt xem

Hi !

I want to redirect every 403 on web/login instead of 403 page, I did the javascript way but some embeded browser (like in instagram) seems to don't execute javascript !?


thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Didn't had answer.
I found a non-elegant solution using Js in html....

Tác giả Câu trả lời hay nhất

I went in views, Find the 403 model and then add a javascript refresh / redirection.

You can also use rewrite / rerouting

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 12 19
5253
1
thg 11 22
4581
0
thg 3 20
5766
0
thg 6 23
3324
1
thg 1 23
6615