Question By
Unsolved

New User listed as Canceled?

macscr

Dec 11th, 2020 10:34 PM

Hmm, so i manually created a test user in Wave, set their role to standard, then logged in as the user in an incognito window, but when i login, it says not only am i not subscribed to a plan, but it says im a cancelled user. Any ideas on that? How can I manually create users without them actually having a subscription and why does it list them as canceled when thats obviously not the case?

bobbyiliev

Dec 13th, 2020 04:26 PM

Hi there,

I've just went through the Wave Middleware, and it looks like that the role is automatically set for a user in this file here:

wave/src/Http/Middleware/WaveMiddleware.php

In case that you want to change this behavior you could change the logick for the updateRole method.

Regards, Bobby