mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5332] Login basic auth - Ability to override the successRoute from app.config.json (#6651)
* ability to override successRoute from app.config * Add basic doc * Reset the appconfig * Rebase and handle login errors * Remove the default route / * remove space
This commit is contained in:
@@ -225,6 +225,18 @@ export class MyCustomLogin {
|
||||
}
|
||||
```
|
||||
|
||||
### Override the successRoute from app.config.json with Basic Auth
|
||||
|
||||
When the user is logged in the login componet redirect him to the successRoute. This route can be overriden from the app.config.json. The successRoute must to be a valid app route.
|
||||
|
||||
**app.config.json**
|
||||
|
||||
```json
|
||||
{
|
||||
"successRoute" : "/my-landing-page"
|
||||
}
|
||||
```
|
||||
|
||||
### Controlling form submit execution behaviour
|
||||
|
||||
The standard form submission system is suitable for most tasks but you can
|
||||
|
Reference in New Issue
Block a user