mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Warn user before losing his data
Summary: Better solution would be to reload the page for user with valid token and all data he inserted but I guess that we don't have enough infrastructure for this. Test Plan: Mangle token and send form. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2570
This commit is contained in:
parent
96f725009f
commit
eb310888e5
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ final class AphrontRequest {
|
|||
"certain type of login hijacking attack. However, the token can ".
|
||||
"become invalid if you leave a page open for more than six hours ".
|
||||
"without a connection to the internet. To fix this problem: reload ".
|
||||
"the page, and then resubmit it.\n\n".
|
||||
"the page, and then resubmit it. All data inserted to the form will ".
|
||||
"be lost in some browsers so copy them somewhere before reloading.\n\n".
|
||||
$more_info);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue