Correct delete company
This commit is contained in:
parent
f37ecb513d
commit
eb0a7fc6b0
|
|
@ -168,7 +168,8 @@ void passwordCallback({
|
||||||
|
|
||||||
try {
|
try {
|
||||||
GoogleOAuth.signIn((idToken, accessToken) {
|
GoogleOAuth.signIn((idToken, accessToken) {
|
||||||
if (!state.company.oauthPasswordRequired || !state.user.hasPassword) {
|
if ((!alwaysRequire && !state.company.oauthPasswordRequired) ||
|
||||||
|
!state.user.hasPassword) {
|
||||||
callback(null, idToken);
|
callback(null, idToken);
|
||||||
} else {
|
} else {
|
||||||
showDialog<AlertDialog>(
|
showDialog<AlertDialog>(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue