kwartzlab / kos-base

KwartzlabOS
4 stars 1 forks source link

Update new member link to slack that has expired #60

Closed azend closed 1 month ago

azend commented 2 months ago
          Also, the slack link seems to have expired. a link is auto-sent when members are set to active, but multiple people have complained that it was expired when they got the email. i can create a new link if needed.

Originally posted by @Schuhbauer12 in https://github.com/kwartzlab/kos-base/issues/56#issuecomment-2330574122

azend commented 1 month ago

The link is parameterized to an environment variable that has to be set on the server itself. Specifically in the .env file. It is not something we can update here. See https://github.com/kwartzlab/kos-base/blob/main/.env.example#L42 for an example.

azend commented 1 month ago

I'm leaving this issue open to track updating the variable on the server.

azend commented 1 month ago

I've updated the link with a new invite from @Schuhbauer12.

azend commented 1 month ago

Despite the link being updated, kOS was continuing to pass out the old link. This was due to Laravel reading environment variables once and storing the value in a cache. Running php artisan config:cache invalidated the cache and brought forward the new link.