Coral
Library
Companies
Track Parameters
Login
Coral
Library
Companies
Track Parameters
Login
Library
Fish Library
224
Contributors
588
Photos
390
Reviews
Coral Library
33
Contributors
127
Photos
25
Reviews
Inverts Library
27
Contributors
50
Photos
49
Reviews
Download the ReefBay App
[email protected]
|
©ReefBay 2026
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', '2b3NhuOcgGB42pTbX1TE1mR6pZNBioj7zV8dIU2x'); fetch('https://reefbay.com/login', { method: 'POST', body: formData, headers: { 'X-CSRF-TOKEN': '2b3NhuOcgGB42pTbX1TE1mR6pZNBioj7zV8dIU2x', '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