mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(auth): fix approval signups and auto-join invites (#3467)
This commit is contained in:
1 parent
e403fb6cce
commit
d5ca5d8293
64 files changed
+622
-72
No files matched your search
@@ -1093,6 +1093,7 @@ const StoredPendingRegistrationSchema = PendingRegistrationResponse.extend({
|
||||
requested_at: StoredRegistrationTimestampSchema,
|
||||
registration_url_id: StoredNullableStringSchema.pipe(StoredRegistrationUrlIdSchema.nullable()),
|
||||
client_ip: StoredNullableStringSchema,
|
||||
invite_code: StoredNullableStringSchema,
|
||||
}) satisfies z.ZodType<InstancePendingRegistration>;
|
||||
|
||||
function isRegistrationUrlUsable(registrationUrl: InstanceRegistrationUrl, now: Date): boolean {
|
||||
|
||||
Reference in new issue
Block a user