Merge pull request #1774 from bitwarden/verify-email-for-send

Require user to verify email to use file Send
This commit is contained in:
Thomas Rittson 2021-04-12 08:21:27 +10:00 committed by GitHub
commit 9559d05346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit 78d40d9f18c23a185465d5fca238b258b2848193
Subproject commit 85893f5f9efb201a45c5af54896a82e6eb185108

View File

@ -16,6 +16,7 @@ import { MessagingService } from 'jslib/abstractions/messaging.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { PolicyService } from 'jslib/abstractions/policy.service';
import { SendService } from 'jslib/abstractions/send.service';
import { TokenService } from 'jslib/abstractions/token.service';
import { UserService } from 'jslib/abstractions/user.service';
import { PopupUtilsService } from '../services/popup-utils.service';
@ -40,9 +41,9 @@ export class SendAddEditComponent extends BaseAddEditComponent {
userService: UserService, messagingService: MessagingService, policyService: PolicyService,
environmentService: EnvironmentService, datePipe: DatePipe, sendService: SendService,
private route: ActivatedRoute, private router: Router, private location: Location,
private popupUtilsService: PopupUtilsService) {
private popupUtilsService: PopupUtilsService, tokenService: TokenService) {
super(i18nService, platformUtilsService, environmentService, datePipe, sendService, userService,
messagingService, policyService);
messagingService, policyService, tokenService);
}
get showFileSelector(): boolean {