PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

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