mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-19 05:13:30 +02:00
Fix username when unauthenticated
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
|
||||
import Cookie from "cookie-universal";
|
||||
const cookies = Cookie();
|
||||
export let user = cookies.get("wguser", { fromRes: true});
|
||||
export let user = cookies.get("wguser", { fromRes: true}) || "anonymous";
|
||||
|
||||
export let url = "";
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user