Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milia::Control::InvalidTenantAccess in MembersController#create no existing valid current tenant #75

Open
adamw005 opened this issue Jul 9, 2017 · 2 comments

Comments

@adamw005
Copy link

adamw005 commented Jul 9, 2017

I am getting this error after I have created an initial user and try to invite a new member.

Milia::Control::InvalidTenantAccess in MembersController#create
no existing valid current tenant`

The highlighted line is

if @user.save_and_invite_member() && @user.create_member( member_params )

I checked the console, there are no Member records but there is a User record and Tenant record

@adamw005
Copy link
Author

adamw005 commented Jul 9, 2017

Sign Out also seems to not be working
I'm using the rails4-support branch w/ Rails 4.2.6

@jekuno
Copy link
Owner

jekuno commented Jul 23, 2017

@adamw005 Thanks for your feedback. Did you make sure that you have a current_tenant (i.e. you performed a sign in first) when you are trying to add a new member?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants