Skip to content

Commit

Permalink
fix(login): add account if offline username diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Sep 13, 2019
1 parent 957cc2c commit a70639f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/store/modules/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const mod = {

if (authService !== selectedUserProfile.authService
|| profileService !== selectedUserProfile.profileService
|| (authService !== 'offline' && account !== selectedUserProfile.account)) {
|| (authService === 'offline' && account !== selectedUserProfile.account)) {
context.commit('addUserProfile', {
account,
authService,
Expand Down

0 comments on commit a70639f

Please sign in to comment.