mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 15:27:46 +00:00
Fix: Use username instead of email
This commit is contained in:
@@ -35,8 +35,6 @@ export default function LoginPage() {
|
|||||||
const selectOrg = useSelectOrganization();
|
const selectOrg = useSelectOrganization();
|
||||||
const { user, isLoading: userLoading } = useUser();
|
const { user, isLoading: userLoading } = useUser();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const queryParams = new URLSearchParams(window.location.search);
|
const queryParams = new URLSearchParams(window.location.search);
|
||||||
|
|
||||||
const logout = useLogoutUser(true);
|
const logout = useLogoutUser(true);
|
||||||
@@ -153,7 +151,7 @@ export default function LoginPage() {
|
|||||||
|
|
||||||
<div className="space-y-1">
|
<div className="space-y-1">
|
||||||
<p className="text-md text-center text-gray-500">
|
<p className="text-md text-center text-gray-500">
|
||||||
You‘re currently logged in as <strong>{user.email}</strong>
|
You‘re currently logged in as <strong>{user.username}</strong>
|
||||||
</p>
|
</p>
|
||||||
<p className="text-md text-center text-gray-500">
|
<p className="text-md text-center text-gray-500">
|
||||||
Not you?{" "}
|
Not you?{" "}
|
||||||
|
|||||||
Reference in New Issue
Block a user