mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
시스템 에러 메세지를 출력할 경우 403 HTTP 코드로 설정
This commit is contained in:
parent
9e78008fe6
commit
f930ec74f8
10 changed files with 35 additions and 27 deletions
|
|
@ -203,7 +203,7 @@
|
|||
|
||||
// If the response contains an error, display the error message.
|
||||
if(data.error != "0" && data.error > -1000) {
|
||||
if(data.error == -1 && data.message == "msg_is_not_administrator") {
|
||||
if(data.error == -1 && data.message == "admin.msg_is_not_administrator") {
|
||||
alert("You are not logged in as an administrator.");
|
||||
if ($.isFunction(callback_error)) {
|
||||
callback_error(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue