Coral
Library
Companies
Track Parameters
Login
Coral
Library
Companies
Track Parameters
Login
Library
Fish Library
213
Contributors
574
Photos
374
Reviews
Coral Library
31
Contributors
126
Photos
24
Reviews
Inverts Library
24
Contributors
48
Photos
39
Reviews
Download the ReefBay App
[email protected]
|
©ReefBay 2025
Join The Community
Create an account to contribute to the community
Sign Up
Login
el.textContent = ''); fetch('https://reefbay.com/register', { method: 'POST', body: new FormData($el), headers: { 'X-CSRF-TOKEN': document.querySelector('meta[name=csrf-token]').content, 'Accept': 'application/json', 'X-Requested-With': 'XMLHttpRequest' } }) .then(response => response.json()) .then(data => { if (data.success) { show = false; window.location.reload(); } else if (data.errors) { loading = false; Object.keys(data.errors).forEach(field => { const errorElement = $el.querySelector(`[data-error-${field}]`); if (errorElement) { errorElement.textContent = data.errors[field][0]; } }); } }) .catch(error => { loading = false; console.error('Registration failed:', error); $el.querySelector('[data-error-general]').textContent = 'An error occurred during registration'; });" method="POST" class="space-y-4">
Name
Username (optional)
Email
Password
Or continue with
Sign in with Apple
el.textContent = ''); const formData = new FormData($el); formData.append('_token', 'lDYwiLpDI7cEGWErmaUN8OEuwQPABqiFamAouo6S'); fetch('https://reefbay.com/login', { method: 'POST', body: formData, headers: { 'X-CSRF-TOKEN': 'lDYwiLpDI7cEGWErmaUN8OEuwQPABqiFamAouo6S', 'Accept': 'application/json', 'X-Requested-With': 'XMLHttpRequest' }, credentials: 'same-origin' }) .then(response => response.text().then(text => { try { return JSON.parse(text); } catch (e) { console.log('Raw response:', text); throw new Error('Invalid JSON response'); } })) .then(data => { if (data.success) { window.location.reload(); } else if (data.errors) { loading = false; Object.keys(data.errors).forEach(field => { const errorElement = $el.querySelector(`[data-error-${field}]`); if (errorElement) { errorElement.textContent = data.errors[field][0]; } }); } }) .catch(error => { loading = false; console.error('Login failed:', error); $el.querySelector('[data-error-general]').textContent = 'An error occurred during login'; });" method="POST" class="space-y-4">
Email
Password
Forgot your password?
Or continue with
Sign in with Apple
Prefer our mobile app?
Scan to download the app