Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Commit

Permalink
Fix login/registration using session authentication
Browse files Browse the repository at this point in the history
fbshipit-source-id: f5ab464
  • Loading branch information
fson authored and expbot committed Apr 1, 2018
1 parent aba04e2 commit 0c8a039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/reducers/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function authComplete(state: State, action: LoginAction): State {
...state,
pendingAction: null,
error: null,
authenticated: !!user.accessToken,
authenticated: !!user.accessToken || !!user.sessionSecret,
accessToken: user.accessToken || null,
idToken: user.idToken || null,
user,
Expand Down

0 comments on commit 0c8a039

Please sign in to comment.