Index: src/routes/account.js
===================================================================
--- src/routes/account.js	(revision 7c44c1227391a3e62327e785d8a67b661aaae489)
+++ src/routes/account.js	(revision 075185aec7ff8542aa40c1e84a7a70cb05f7599f)
@@ -24,5 +24,4 @@
 import { renderPage } from '../middleware/render.js';
 import { requireAuth } from '../middleware/auth.js';
-import { googleConfigured } from '../config/google.js';
 import { toWebp } from '../services/ImageWebpService.js';
 import { SUPPORTED } from '../services/i18n.js';
@@ -65,5 +64,4 @@
   `).get(req.session.user.id);
   const hasPassword = !!(account && account.password_hash && account.password_hash !== '!google-oauth');
-  const googleLinked = !!(account && account.google_sub);
   if (account) { delete account.password_hash; delete account.google_sub; } // don't leak to the view
 
@@ -74,6 +72,4 @@
     account,
     hasPassword,
-    googleLinked,
-    googleAvailable: googleConfigured(),
     editableSite,
     // Display fallback: when you have no own account avatar, show your site's photo.
@@ -204,18 +200,4 @@
 });
 
-// Unlink Google account. Only allowed if a password is set,
-// otherwise the user would lock themselves out (no login method left).
-router.post('/google/unlink', requireAuth, (req, res) => {
-  const row = db.prepare('SELECT password_hash, google_sub FROM users WHERE id = ?').get(req.session.user.id);
-  if (!row || !row.google_sub) {
-    return res.redirect('/account?error=' + encodeURIComponent('Er is geen Google-account gekoppeld'));
-  }
-  if (!row.password_hash || row.password_hash === '!google-oauth') {
-    return res.redirect('/account?error=' + encodeURIComponent('Stel eerst een wachtwoord in — anders kun je niet meer inloggen.'));
-  }
-  db.prepare('UPDATE users SET google_sub = NULL, updated_at = CURRENT_TIMESTAMP WHERE id = ?').run(req.session.user.id);
-  res.redirect('/account?success=' + encodeURIComponent('Google-account ontkoppeld'));
-});
-
 // ==================== UPLOAD AVATAR ====================
 router.post('/avatar', requireAuth, (req, res) => {
