[O] Extend token saving period
This commit is contained in:
@@ -54,7 +54,7 @@ export default class Login extends Vue
|
|||||||
if (response.success)
|
if (response.success)
|
||||||
{
|
{
|
||||||
// Save token to cookies
|
// Save token to cookies
|
||||||
this.$cookies.set('va.token', response.data, '7d');
|
this.$cookies.set('va.token', response.data, '27d');
|
||||||
this.$cookies.set('va.version', Constants.VERSION);
|
this.$cookies.set('va.version', Constants.VERSION);
|
||||||
|
|
||||||
// Call custom event with token
|
// Call custom event with token
|
||||||
|
|||||||
Reference in New Issue
Block a user