This commit is contained in:
Boof 2023-04-11 13:43:48 +02:00 committed by GitHub
parent 6bd0c38c21
commit 47d3c97b59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,7 @@ const auth = getAuth(app);
const provider = new GoogleAuthProvider()
const analytics = getAnalytics(app);
signInWithRedirect(auth, provider);
/*function signUp() {

View File

@ -15,6 +15,8 @@
<input id="emailInput" type="text" name="Email" placeholder="Email">
<input id="passInput" type="password" name="password" placeholder="Password">
<button type="submit">Sign up</button>
</form>
<button onclick="signInWithRedirect(auth, provider);">Sign in/up with google</button>
</body>
</html>