Users · {slug} · PiCloud

Users

End-users of this app, managed by the users::* SDK. Distinct from instance operators (Admins tab).

Invitations →
{#if showCreate}
{ e.preventDefault(); void submitCreate(); }} >
{/if} {#if error}
{error}
{/if} {#if users.length === 0 && !loading}

No users yet. Create one above or wait for them to sign up.

{:else} {#each users as u (u.id)} {/each}
Email Display name Verified Roles Last login
{u.email} {u.display_name ?? '—'} {#if u.email_verified_at} yes {:else} pending {/if} {#each u.roles as r} {r} {/each} {fmtTime(u.last_login_at)}
{#if nextCursor} {/if} {/if}
{#if editing} (editing = null)} > {/if} {#if toRemove} (toRemove = null)} >

Delete {toRemove.email}? This removes their record, sessions, roles, and pending reset / verification tokens. Cannot be undone.

{/if} {#if toRevoke} (toRevoke = null)} >

Revoke every active session for {toRevoke.email}? They will be signed out everywhere immediately; the next request requires a fresh login.

{/if} {#if toReset && !resetToken} (toReset = null)} >

Generate a one-shot password-reset token for {toReset.email}? The token is returned exactly once — paste it into a manual reset link.

{/if} {#if resetToken}

Copy this token now — it won't be shown again. It expires in {Math.round(resetToken.expires_in_seconds / 60)} minutes.

{resetToken.token}
{/if}