mirror of
https://github.com/bpatrik/pigallery2.git
synced 2025-01-26 05:27:35 +02:00
Making random-link by-default enabled, and updating the warning note #392
This commit is contained in:
parent
8f6f960ee8
commit
9ef0f5d2b8
@ -59,8 +59,8 @@ export class ClientSharingConfig {
|
||||
|
||||
@SubConfigClass()
|
||||
export class ClientRandomPhotoConfig {
|
||||
@ConfigProperty({description: 'Enables random link generation. NOTE: With the current implementation, it poses a security risk. See https://github.com/bpatrik/pigallery2/issues/392'})
|
||||
enabled: boolean = false;
|
||||
@ConfigProperty({description: 'Enables random link generation.'})
|
||||
enabled: boolean = true;
|
||||
}
|
||||
|
||||
@SubConfigClass()
|
||||
|
@ -33,7 +33,7 @@
|
||||
</ng-container>
|
||||
<br/>
|
||||
<ng-container i18n>
|
||||
Note: With the current implementation, it poses a security risk. See:
|
||||
Note: With the current implementation, random link also requires login. See:
|
||||
</ng-container>
|
||||
<a href="https://github.com/bpatrik/pigallery2/issues/392">#392</a>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user