mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 22:13:02 +00:00
Added more debug logs for testserver
This commit is contained in:
@@ -372,6 +372,7 @@ export class AuthService {
|
||||
* Redirect to the route navigated before the login
|
||||
*/
|
||||
public redirectAfterLoginSuccess(isStandalonePage: boolean) {
|
||||
console.log('isStandAlonePage: ', isStandalonePage);
|
||||
this.getRedirectUrl().pipe(
|
||||
take(1))
|
||||
.subscribe((redirectUrl) => {
|
||||
@@ -392,7 +393,7 @@ export class AuthService {
|
||||
// For standalone login pages, use the previous route.
|
||||
redirUrl = history[history.length - 2] || '';
|
||||
} else {
|
||||
console.log('isStandAlonePage: ', isStandalonePage);
|
||||
// console.log('isStandAlonePage: ', isStandalonePage);
|
||||
console.log( 'history[history.length - 1; ', history[history.length - 1]);
|
||||
redirUrl = history[history.length - 1] || '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user