Proceso login con google

This commit is contained in:
Alexis
2026-04-13 14:04:53 +02:00
parent d69617e9ed
commit cb9030eb8d
2 changed files with 80 additions and 63 deletions
+5
View File
@@ -9,5 +9,10 @@ export const authService = {
register: async (username, email, password) => {
const response = await api.post('/auth/register', { username, email, password });
return response.data;
},
getCurrentUser: async () => {
const response = await api.get('/auth/me');
return response.data;
}
};