mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
auth: added login through vk iframe
This commit is contained in:
parent
9427866e60
commit
c2e13ba4fd
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ function* vkIframeAuth({ viewer_id, access_token }) {
|
|||
const user = yield call(getVkIframeUser, { viewer_id, access_token });
|
||||
|
||||
if (user) return yield put(setUser(user));
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function* mapInitSaga() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue