[mirotalksfu] - fix user_auth

هذا الالتزام موجود في:
Miroslav Pejic
2025-01-26 10:41:44 +01:00
الأصل e60fd436fb
التزام 677f855d96
4 ملفات معدلة مع 9 إضافات و9 حذوفات

عرض الملف

@@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.7.11
* @version 1.7.12
*
*/
@@ -683,10 +683,10 @@ function startServer() {
// handle login if user_auth enabled
app.get(['/login'], (req, res) => {
if (!hostCfg.protected) {
return res.redirect('/');
if (hostCfg.protected || hostCfg.user_auth) {
return res.sendFile(views.login);
}
res.sendFile(views.login);
res.redirect('/');
});
// handle logged on host protected

عرض الملف

@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.7.11",
"version": "1.7.12",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
@@ -78,7 +78,7 @@
"mediasoup-client": "3.8.1",
"ngrok": "^5.0.0-beta.2",
"nodemailer": "^6.10.0",
"openai": "^4.80.0",
"openai": "^4.80.1",
"qs": "6.14.0",
"socket.io": "4.8.1",
"swagger-ui-express": "5.0.1",

عرض الملف

@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.7.11
* @version 1.7.12
*
*/
@@ -4904,7 +4904,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.7.11',
title: 'WebRTC SFU v1.7.12',
html: `
<br />
<div id="about">

عرض الملف

@@ -9,7 +9,7 @@
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.7.11
* @version 1.7.12
*
*/