Fix failing login in Firefox browser (#970)
The bug was introduced in OAuth2 implementation (1645e2fd
), where the tokenAuthLoading flag from AuthProvider was not used and it did not blocked UI in loading state.
This commit is contained in:
parent
8ece366660
commit
db4fc1d8c5
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ const LoginView: React.FC<LoginViewProps> = ({ params }) => {
|
|||
externalAuthentications={
|
||||
externalAuthentications?.shop?.availableExternalAuthentications
|
||||
}
|
||||
loading={externalAuthenticationsLoading}
|
||||
loading={externalAuthenticationsLoading || tokenAuthLoading}
|
||||
onExternalAuthentication={handleRequestExternalAuthentication}
|
||||
onPasswordRecovery={() => navigate(passwordResetUrl)}
|
||||
onSubmit={handleSubmit}
|
||||
|
|
Loading…
Reference in a new issue