You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-18 00:19:25 +02:00
fixing backend tests
This commit is contained in:
@@ -8,6 +8,7 @@ import {Config} from "../../../common/config/private/Config";
|
||||
export class AuthenticationMWs {
|
||||
|
||||
private static async getSharingUser(req: Request) {
|
||||
console.log(req);
|
||||
if (Config.Client.Sharing.enabled === true &&
|
||||
Config.Client.Sharing.passwordProtected === false &&
|
||||
(!!req.query.sk || !!req.params.sharingKey)) {
|
||||
|
||||
Reference in New Issue
Block a user