accepting code for auth page
This commit is contained in:
@@ -41,6 +41,7 @@ let Global = class {
|
||||
}
|
||||
|
||||
onNavigate = async () => {
|
||||
if(!global.profile) return
|
||||
let selectedNetwork = this.networkFromPath()
|
||||
|
||||
if(!selectedNetwork) {
|
||||
@@ -188,6 +189,7 @@ let Global = class {
|
||||
|
||||
this.getProfile().then(async (status) => {
|
||||
if (status === 401) {
|
||||
navigateTo("/")
|
||||
AuthPage()
|
||||
} else if(status === 500) {
|
||||
ConnectionError()
|
||||
|
||||
Reference in New Issue
Block a user