1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 20:57:49 +02:00

CSRF detection text - updated #84

This commit is contained in:
Awilum
2013-01-09 22:27:01 +02:00
parent adac7ea7a3
commit 5db04d5007
10 changed files with 43 additions and 43 deletions

View File

@@ -153,7 +153,7 @@ class Users extends Frontend
Request::redirect(Option::get('siteurl').'users/'.Users::$users->lastId());
}
} else { die('csrf detected!'); }
} else { die('Request was denied because it contained an invalid security token. Please refresh the page and try again.'); }
}
// Display view
@@ -239,7 +239,7 @@ class Users extends Frontend
}
} else { }
} else { die('csrf detected!'); }
} else { die('Request was denied because it contained an invalid security token. Please refresh the page and try again.'); }
}
@@ -345,7 +345,7 @@ class Users extends Frontend
}
} else { die('csrf detected!'); }
} else { die('Request was denied because it contained an invalid security token. Please refresh the page and try again.'); }
}
@@ -391,7 +391,7 @@ class Users extends Frontend
Notification::setNow('error', __('Wrong <b>username</b> or <b>password</b>', 'users'));
}
} else { die('csrf detected!'); }
} else { die('Request was denied because it contained an invalid security token. Please refresh the page and try again.'); }
}