mirror of
https://github.com/thelounge/thelounge
synced 2024-12-28 05:13:10 +00:00
10 lines
182 B
JavaScript
10 lines
182 B
JavaScript
|
"use strict";
|
||
|
|
||
|
const socket = require("../socket");
|
||
|
const storage = require("../localStorage");
|
||
|
|
||
|
socket.on("sign-out", function() {
|
||
|
storage.remove("token");
|
||
|
location.reload();
|
||
|
});
|