feat: 
Invite Button

Created by: Mogge

Pullrequest

When INVITE_REGISTRATION
is true
a button shows up to the left of the avatar menu that opens a dropdown that shows the invite code.
Todo
-
Cleanup Backend when registration process is done. Remove unused queries and mutations. Check permissions of remaining queries ans mutations.
Merge request reports
Activity
Filter activity
1 1 SENTRY_DSN_WEBAPP= 2 2 COMMIT= 3 3 PUBLIC_REGISTRATION=false 4 INVITE_REGISTRATION=true Created by: Tirokk
Haven’t we agreed that this is
false
in development? @ulfgebhardt @MoggeOtherwise I have to change it in my code …
PS: It’s not defined in the backend yet: https://github.com/Ocelot-Social-Community/Ocelot-Social/blob/3c908e147101021676cc421c8195387b39c53de8/backend/.env.template
22 22 }, 23 23 asyncData({ app }) { 24 24 return { 25 publicRegistration: app.$env.PUBLIC_REGISTRATION === 'true', 25 publicRegistration: app.$env.PUBLIC_REGISTRATION, Created by: Tirokk
@Mogge Why you using
app.$env
here if you seem to preferthis.$env
? … like you said here https://github.com/Ocelot-Social-Community/Ocelot-Social/issues/4292#issuecomment-801803624I don’t know the differences …
Please register or sign in to reply