// import { error, redirect } from '@sveltejs/kit';

// /** @type {import('./$types').PageLoad} */
// export const load = (data) => {
// 	// send user back if they were here after good auth
// 	if (data.user) {
// 		throw redirect(301, '/repositories');
// 	}

// 	throw error(401, 'unauthorized');
// };
