1
0
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:
Patrik J. Braun
2018-02-03 19:50:42 -05:00
parent 7896b5ae28
commit 6be0d308b7
16 changed files with 153 additions and 113 deletions

View File

@@ -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;