The Angular and AngularJS clients have separate login flows. This
commit redirects the Angular login page to its AngularJS equivalent,
for two reasons:
1. It provides a more consistent user experience.
2. AngularJS login clears settings from the Lovefield-based offline
cache. Angular login can't easily do that because the Angular client
doesn't use Lovefield.
Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
// clear out any stale auth data
this.auth.logout();
+ // redirect to AngularJS login (LP#1848550/LP#1835128)
+ window.location.href = '/eg/staff/login';
+
+ /*
// Focus username
this.renderer.selectRootElement('#username').focus();
this.args.workstation =
this.store.getLocalItem('eg.workstation.default');
this.applyWorkstation();
+ */
}
applyWorkstation() {