mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-10-31 06:05:43 +00:00 
			
		
		
		
	fix: use correct api path in login mutation
This commit is contained in:
		| @@ -65,7 +65,7 @@ export const LoginPage = () => { | ||||
|   }); | ||||
|  | ||||
|   const loginMutation = useMutation({ | ||||
|     mutationFn: (values: LoginSchema) => axios.post("/api/login", values), | ||||
|     mutationFn: (values: LoginSchema) => axios.post("/api/user/login", values), | ||||
|     mutationKey: ["login"], | ||||
|     onSuccess: (data) => { | ||||
|       if (data.data.totpPending) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Stavros
					Stavros