-
Notifications
You must be signed in to change notification settings - Fork 171
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
Complete registration #17
Comments
Let me understand clearly: you need something like a This can be done in a lot of ways, googling If the user closes the page and then re-opens it, the page refresh should update the userRole, if you want the The update can be processed using Hope I have been useful |
This: "The update can be processed using loginHandler" EDIT: BTW that was a super quick response... and on a sunday!!! You rock bro! |
I just have no life on sunday ;) I think AFAIK you could just inject in your controller the That should work, if userRole change needs to get propagated to some scope you can use:
But that depends how you read the informations from the service :) |
Mr Gamer! it's me again! hehe.... well i got another issue here. After i send input the code, i send the data to de server an validate the email properly, then i do a $state.go('app.dashboard'), so an statechagenstart event is emmited and the app redirects to the dashboard but, the top menu continues to show the login instead of the proper options for logged users. So what i want is to login the user after sign up, but ask for validation, and only show the users menu after the validation (without reloading) |
Okey, this is doable, the user menu in this demo follows Maybe you don't update this property correctly after the user gets validated, in the example |
Greetings, awesome library!
Now, i got a question regarding the complete registration process.
Right now i'm not changing the state, as i use a lightbox to put the validation code. My problem is, after the validation code is sent, i need to update the user 'valid_email' to ', so i can now access the dashoboard, but i don't understand how could i do this... Any idea?
The text was updated successfully, but these errors were encountered: