|
|
@@ -4018,8 +4018,10 @@ function errorPage(error=null,uri=null){
|
|
|
local('set','uri',uri);
|
|
|
}
|
|
|
//var urlParams = new URLSearchParams(window.location.search);
|
|
|
- if($.urlParam('error') !== null){
|
|
|
- local('set','error',$.urlParam('error'));
|
|
|
+ if($.urlParam('error') !== null && typeof $.urlParam('error') === 'string'){
|
|
|
+ if($.urlParam('error').length === 3){
|
|
|
+ local('set','error',$.urlParam('error'));
|
|
|
+ }
|
|
|
}
|
|
|
if($.urlParam('return') !== null && activeInfo.user.loggedin !== true){
|
|
|
local('set','uri',$.urlParam('return'));
|