You've already forked pigallery2
mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-12-07 23:23:49 +02:00
fixing sharing bugs
This commit is contained in:
@@ -44,8 +44,7 @@ export class SharingManager implements ISharingManager {
|
||||
if (sharing.timeStamp < Date.now() - Config.Server.sharing.updateTimeout) {
|
||||
throw "Sharing is locked, can't update anymore"
|
||||
}
|
||||
|
||||
sharing.password = inSharing.password;
|
||||
sharing.password = PasswordHelper.cryptPassword(inSharing.password);
|
||||
sharing.includeSubfolders = inSharing.includeSubfolders;
|
||||
sharing.expires = inSharing.expires;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user