mirror of
https://github.com/Anvilcraft/jensmemes
synced 2024-11-28 18:12:31 +01:00
token is now set after (successful) upload
This commit is contained in:
parent
206ff6fa4a
commit
0ec2e111cc
1 changed files with 2 additions and 0 deletions
|
@ -132,9 +132,11 @@
|
|||
type: 'post',
|
||||
success: function (response) {
|
||||
$('#msg').html(response);
|
||||
|
||||
},
|
||||
error: function (response) {
|
||||
$('#msg').html(response);
|
||||
document.cookie = "token="+token+"Doe; expires=Thu, 30 Dec 2050 12:00:00 UTC";
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue