mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-17 09:00:06 +00:00
fix: auth manager merge issues
This commit is contained in:
@@ -157,6 +157,7 @@ export class AuthManager {
|
|||||||
return {
|
return {
|
||||||
isLoggedIn,
|
isLoggedIn,
|
||||||
userName: this.userName || '',
|
userName: this.userName || '',
|
||||||
|
userLongName: this.userLongName || '',
|
||||||
errorMessage: 'Public access has been denied.'
|
errorMessage: 'Public access has been denied.'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -181,6 +182,10 @@ export class AuthManager {
|
|||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
// ignore if resource not found error
|
// ignore if resource not found error
|
||||||
if (!(err instanceof NotFoundError)) throw err
|
if (!(err instanceof NotFoundError)) throw err
|
||||||
|
|
||||||
|
return {
|
||||||
|
result: ''
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user