forked from Adleraci/adlerka.top
17 lines
410 B
HTML
17 lines
410 B
HTML
<script>
|
|
async function getUserInfo() {
|
|
const data = new URLSearchParams();
|
|
data.append("action", "get_user_info");
|
|
|
|
const result = await doAccountAction(data, null, null, true);
|
|
|
|
if (result && result.Status === "Success") {
|
|
return UserInfo.FirstName;
|
|
}
|
|
}
|
|
</script>
|
|
|
|
|
|
<body class="dashboard">
|
|
<h1>Ahoj, <script>getUserInfo()</script></h1>
|
|
</body> |