Skip to content

Commit c996407

Browse files
committed
Pause @cep.ac.in restriction for login only
1 parent 6a9a084 commit c996407

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/lib/firebase/auth.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ export function useAuth() {
2929
}
3030

3131
export const signIn = async (email: string, pass: string) => {
32-
if (!isAllowedEmail(email)) {
33-
throw new Error("ACCESS_DENIED");
34-
}
32+
// if (!isAllowedEmail(email)) {
33+
// throw new Error("ACCESS_DENIED");
34+
// }
3535
const userCredential = await signInWithEmailAndPassword(auth, email, pass);
3636

3737
if (!userCredential.user.emailVerified) {

0 commit comments

Comments
 (0)