Registeration & Login
Satellizer
Laravel & Angular material starter includes satellizer for managing the token.
You can customize satellizer's configuration in angular/config/satellizer.config.js
.
Registration functionality
![Screen Shot 2016-04-21 at 12.48.07 AM.png 996](https://files.readme.io/NsKdOEzjRmKncNS6JN9g_Screen%20Shot%202016-04-21%20at%2012.48.07%20AM.png)
Registration functionality is provided out of the box.
The /register
route is configured in routes.config.js
.
You have a register.page.html
which holds the register-form
component.
The register-form
components signs up the user using satellizer and Auth\AuthController.php
.
If you want to add new fields, you would need to edit the view, component and AuthController.
Login functionality
![Screen Shot 2016-04-21 at 12.48.21 AM.png 882](https://files.readme.io/l5vRJ9UDRvyrZ4oxwf4z_Screen%20Shot%202016-04-21%20at%2012.48.21%20AM.png)
Login functionality is provided out of the box.
The /login
route is configured in routes.config.js
.
You have a login.page.html
which holds the login-form
component.
The login-form
components authenticates the user using satellizer and Auth\AuthController.php
.
You can check the logic behind it in Auth\AuthController.php.
Updated less than a minute ago