mirror of
https://github.com/wassname/talk.git
synced 2026-07-20 12:40:47 +08:00
Added support for external signins on Admin
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { handlePopupAuth } from 'plugin-api/beta/client/utils';
|
||||
|
||||
export const loginWithGoogle = () => (dispatch, _, { rest }) => {
|
||||
window.location = `${rest.uri}/auth/google`;
|
||||
handlePopupAuth(`${rest.uri}/auth/google`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user