mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +00:00
accept org invite
This commit is contained in:
@@ -25,7 +25,12 @@ export class VerifyEmailTokenComponent implements OnInit {
|
||||
private apiService: ApiService, private userService: UserService) { }
|
||||
|
||||
ngOnInit() {
|
||||
let fired = false;
|
||||
this.route.queryParams.subscribe(async (qParams) => {
|
||||
if (fired) {
|
||||
return;
|
||||
}
|
||||
fired = true;
|
||||
if (qParams.userId != null && qParams.token != null) {
|
||||
try {
|
||||
await this.apiService.postAccountVerifyEmailToken(
|
||||
|
||||
Reference in New Issue
Block a user