An Ember Ecosystem
For Spree Commerce

spree-ember-auth

Extends Ember.Component

A simple Fieldset that doubles as a Signin & Signup form. Sends action: authenticateUser or createAndAuthenticateUser depending on whether isSignup is set to true or false.

To Override: You'll need to run the generator:

ember g spree-ember-auth-component

This will install a layout file at: app/templates/components/spree-auth, and a component file at app/components/spree-auth, ready to be extended.

Properties

Show Private Properties

authAction

String

The action that is sent when isSignup is false. This is caught by the action defined in the spree-auth-user-route-mixin.


Default: 'authenticateUser'

createAction

String

The action that is sent when isSignup is true. This is caught by the action defined in the spree-auth-user-route-mixin.


Default: 'createAndAuthenticateUser'

errors

Object

An array of server errors.


Default: {}

isSignup

Boolean

The mode of the component.


Default: false