This addon provides a <MuRegister />
, <MuUnregister />
and <MuChangePassword />
component for the mu-registration microservice.
ember install ember-mu-registration
Just include the <MuRegister />
, <MuUnregister />
or <MuChangePassword />
component in your template.
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
register
action - use
name
,nickname
,password
andpasswordConfirmation
as value bindings for the input fields
For mu-unregister
- call the
unregister
action
For mu-change-password
- call the
changePassword
action - use
oldPassword
,newPassword
andnewPasswordConfirmation
as value bindings for the input fields
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.