Merge commit '7a70d9543525681b5c408cfd17782843da13177f' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2025-04-25 17:22:10 +02:00
commit dae6f19490
68 files changed
+494 -380

No files matched your search

+5 -2
View File
@@ -4,9 +4,12 @@ import axios from 'axios';
import ready from '../mastodon/ready';
async function checkConfirmation() {
const response = await axios.get('/api/v1/emails/check_confirmation');
const response = await axios.get('/api/v1/emails/check_confirmation', {
headers: { Accept: 'application/json' },
withCredentials: true,
});
if (response.data) {
if (response.status === 200 && response.data === true) {
window.location.href = '/start';
}
}