If auth is not turned on, redirect to console
This commit is contained in:
parent
1d99bd5cb3
commit
4ee3380e3a
|
@ -42,6 +42,9 @@ if (
|
|||
?>
|
||||
<div class="error">
|
||||
User Authentication is not turned on. You cannot log in.
|
||||
<script nonce="<?php echo $cspNonce; ?>">
|
||||
setTimeout(function() { window.location.replace('?view=console'); }, 500);
|
||||
</script>
|
||||
</div>
|
||||
<?php
|
||||
} # end if ZM_OPT_AUTH
|
||||
|
|
Loading…
Reference in New Issue