Allow account deletion from the user agreement page

This commit is contained in:
ErickSkrauch
2020-08-01 01:40:11 +03:00
parent 7eeeb7cc61
commit 60e892d993
4 changed files with 25 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ export function authenticate(
sessionStorage.setItem(`stranger${newAccount.id}`, '1');
}
if (auth && auth.oauth && auth.oauth.clientId) {
if (auth?.oauth?.clientId) {
// if we authenticating during oauth, we disable account chooser
// because user probably has made his choise now
// this may happen, when user registers, logs in or uses account