Skip to content

Commit

Permalink
to_update_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IoTcat committed Aug 24, 2021
1 parent ef75efd commit 79b6742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
cookie.set('_from', encodeURI(page.params.from));
}
session.onload(function(){
if(session.get('group') == 'anonymous'){
if((!session.get('group')&&session.get('group')!=="") || session.get('group') === 'anonymous'){
if(page.params.hasOwnProperty('require')){
window.location.href='/login.html?require='+page.params.require;
}else{
Expand Down

0 comments on commit 79b6742

Please sign in to comment.