ember-mu-registration v1.1.0
Ember-mu-registration
This addon provides a <MuRegister />, <MuUnregister /> and <MuChangePassword /> component for the mu-registration microservice.
Installation
ember install ember-mu-registrationBasic usage
Just include the <MuRegister />, <MuUnregister /> or <MuChangePassword /> component in your template.
Advanced usage
Overwriting the component templates
To overwrite the template of the components, create a custom mu-register.hbs, mu-unregister.hbs or mu-change-password.hbs file. Make sure you use the correct bindings and actions. You can have a look at the default templates in addon/templates/components.
For mu-register
- call the
registeraction - use
name,nickname,passwordandpasswordConfirmationas value bindings for the input fields
For mu-unregister
- call the
unregisteraction
For mu-change-password
- call the
changePasswordaction - use
oldPassword,newPasswordandnewPasswordConfirmationas value bindings for the input fields
Customizing the components
To customize the components, generate your own new components and include the mu-register (ember-mu-registration/mixins/mu-register), mu-unregister (ember-mu-registration/mixins/mu-unregister) and mu-change-password (ember-mu-registration/mixins/mu-change-password) mixins to handle the register, unregister and changePassword actions.