Skip to content

Commit

Permalink
[mirotalkbro] - update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Feb 9, 2025
1 parent 7602c0d commit c6a98b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@

---

<p align="center">
Join our community for questions, discussions, and support on <a href="https://discord.gg/rgGYfeYW3N">Discord</a>
</p>
<strong>
<p align="center">
Join our Community for questions, help, support, ideas, and discussions on <a href='https://discord.gg/rgGYfeYW3N'>Discord</a>
</p>
</strong>

---

Expand Down
4 changes: 2 additions & 2 deletions app/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,15 +169,15 @@ const OIDC = {

const OIDCAuth = function (req, res, next) {
if (OIDC.enabled) {
if (req.oidc.isAuthenticated()) {
if (req.oidc.isAuthenticated()) {
log.debug('OIDC ------> User already Authenticated');
return next();
}
requiresAuth()(req, res, next);
} else {
next();
}
}
};

// public html files
const html = {
Expand Down

0 comments on commit c6a98b8

Please sign in to comment.